Update build.gradle

This commit is contained in:
Quarris 2020-05-19 22:41:07 +01:00 committed by GitHub
parent 544e383974
commit c5d9681ebb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,7 +120,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
@ -135,7 +135,7 @@ publishing {
from components.java from components.java
artifact deobfJar { artifact deobfJar {
classifier 'deobf' classifier 'sources'
} }
pom.withXml { pom.withXml {