Update build.gradle (#119)

This commit is contained in:
Quarris 2020-05-19 22:44:33 +01:00 committed by GitHub
parent e69bc977c6
commit d1f4b1b1c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,7 +130,7 @@ jar {
task deobfJar(type: Jar) {
from(sourceSets.main.output)
archiveName = "${baseName}-${version}-deobf.${extension}"
archiveName = "${baseName}-${version}-sources.${extension}"
}
artifacts {
archives deobfJar
@ -145,7 +145,7 @@ publishing {
from components.java
artifact deobfJar {
classifier 'deobf'
classifier 'sources'
}
pom.withXml {
@ -160,4 +160,4 @@ publishing {
url "file://" + System.getenv("local_maven")
}
}
}
}