10000 photon-lib: Fix C++ sources publish classifier by auscompgeek · Pull Request #765 · PhotonVision/photonvision · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

photon-lib: Fix C++ sources publish classifier #765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions photon-lib/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ task cppHeadersZip(type: Zip) {
}
}

task cppSourceZip(type: Zip) {
task cppSourcesZip(type: Zip) {
destinationDirectory = outputsFolder
archiveBaseName = zipBaseName
classifier = "source"
classifier = "sources"

from(licenseFile) {
into '/'
Expand All @@ -75,8 +75,8 @@ task cppSourceZip(type: Zip) {

build.dependsOn cppHeadersZip
addTaskToCopyAllOutputs(cppHeadersZip)
build.dependsOn cppSourceZip
addTaskToCopyAllOutputs(cppSourceZip)
build.dependsOn cppSourcesZip
addTaskToCopyAllOutputs(cppSourcesZip)

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
Expand Down Expand Up @@ -162,7 +162,7 @@ model {
artifact it
}
artifact cppHeadersZip
artifact cppSourceZip
artifact cppSourcesZip

artifactId = "${baseArtifactId}-cpp"
groupId artifactGroupId
Expand Down
0