Fixed problem where deobf was posted as an unobf jar.

This commit is contained in:
raoulvdberge
2019-11-04 19:34:06 +01:00
parent a3852cc069
commit c66fcf6ccd

View File

@@ -109,6 +109,8 @@ jar {
}
}
jar.finalizedBy('reobfJar')
task apiJar(type: Jar, dependsOn: 'classes') {
classifier = 'api'
from(sourceSets.main.output) {
@@ -127,6 +129,7 @@ task deobfJar(type:Jar) {
}
artifacts {
archives jar
archives sourcesJar
archives deobfJar
archives apiJar