mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-22 11:53:29 +01:00
Update build.gradle
This commit is contained in:
parent
0c64e07c3d
commit
573fb62ded
1 changed files with 11 additions and 0 deletions
11
build.gradle
11
build.gradle
|
@ -119,11 +119,18 @@ jar {
|
||||||
}
|
}
|
||||||
|
|
||||||
task deobfJar(type: Jar) {
|
task deobfJar(type: Jar) {
|
||||||
|
from(sourceSets.main.output)
|
||||||
|
archiveName = "${baseName}-${version}-deobf.${extension}"
|
||||||
|
}
|
||||||
|
|
||||||
|
task sourcesJar(type: Jar) {
|
||||||
from(sourceSets.main.allSource)
|
from(sourceSets.main.allSource)
|
||||||
archiveName = "${baseName}-${version}-sources.${extension}"
|
archiveName = "${baseName}-${version}-sources.${extension}"
|
||||||
}
|
}
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives deobfJar
|
archives deobfJar
|
||||||
|
archives sourcesJar
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
@ -135,6 +142,10 @@ publishing {
|
||||||
from components.java
|
from components.java
|
||||||
|
|
||||||
artifact deobfJar {
|
artifact deobfJar {
|
||||||
|
classifier 'deobf'
|
||||||
|
}
|
||||||
|
|
||||||
|
artifact sourcesJar {
|
||||||
classifier 'sources'
|
classifier 'sources'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue