Merge pull request #21 from Quarris/patch-1

Update build.gradle
This commit is contained in:
Ellpeck 2020-05-19 23:44:25 +02:00 committed by GitHub
commit 2c926aa1c4
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 {