Another attempt at obf jar building
This commit is contained in:
10
build.gradle
10
build.gradle
@@ -74,14 +74,14 @@ processResources {
|
||||
|
||||
task deobfJar(type: Jar) {
|
||||
from sourceSets.main.output
|
||||
classifier = 'deobf'
|
||||
classifier 'deobf'
|
||||
}
|
||||
|
||||
task apiJar(type: Jar, dependsOn: 'sourceMainJava') {
|
||||
from sourceSets.main.allSource
|
||||
from sourceSets.main.output
|
||||
include 'refinedstorage/api/**/*'
|
||||
classifier 'api'
|
||||
from sourceSets.main.output
|
||||
include 'refinedstorage/api/**/*'
|
||||
classifier 'api'
|
||||
}
|
||||
|
||||
artifacts {
|
||||
@@ -96,9 +96,9 @@ publishing {
|
||||
groupId = project.group
|
||||
artifactId = project.archivesBaseName
|
||||
version = project.version + '-' + System.getenv('TRAVIS_BUILD_NUMBER')
|
||||
artifact jar
|
||||
artifact deobfJar
|
||||
artifact apiJar
|
||||
artifact jar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user