mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Adds a java classifier whenever jenkins is building (#12)
Makes the jar much easier to find when attempting to combine.
This commit is contained in:
@@ -180,7 +180,11 @@ publishing {
|
||||
publications {
|
||||
|
||||
java(MavenPublication) {
|
||||
artifact jar
|
||||
artifact (jar) {
|
||||
if (project.hasProperty('jenkinsBuild')) {
|
||||
classifier = 'javaArtifact'
|
||||
}
|
||||
}
|
||||
artifact sourcesJar
|
||||
artifact javadocJar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user