Another attempt at obf jar building
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user