Another attempt at obf jar building

This commit is contained in:
Raoul Van den Berge
2016-09-13 23:36:22 +02:00
parent b0b7f30e9b
commit d1ee937929

View File

@@ -74,7 +74,7 @@ processResources {
task deobfJar(type: Jar) { task deobfJar(type: Jar) {
from sourceSets.main.output from sourceSets.main.output
classifier = 'deobf' classifier 'deobf'
} }
task apiJar(type: Jar, dependsOn: 'sourceMainJava') { task apiJar(type: Jar, dependsOn: 'sourceMainJava') {
@@ -96,9 +96,9 @@ publishing {
groupId = project.group groupId = project.group
artifactId = project.archivesBaseName artifactId = project.archivesBaseName
version = project.version + '-' + System.getenv('TRAVIS_BUILD_NUMBER') version = project.version + '-' + System.getenv('TRAVIS_BUILD_NUMBER')
artifact jar
artifact deobfJar artifact deobfJar
artifact apiJar artifact apiJar
artifact jar
} }
} }
} }