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:
Thad House
2017-08-02 19:33:26 -07:00
committed by GitHub
parent 63768166ea
commit 03bd0820cc

View File

@@ -180,7 +180,11 @@ publishing {
publications {
java(MavenPublication) {
artifact jar
artifact (jar) {
if (project.hasProperty('jenkinsBuild')) {
classifier = 'javaArtifact'
}
}
artifact sourcesJar
artifact javadocJar