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