mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-19 19:49:59 +00:00
Merge pull request #83 from RX14/gradle-artifacts
Standardise artifacts format
This commit is contained in:
commit
a7eddcb792
1 file changed
+16
-16
+16
-16
@@ -45,25 +45,25 @@ processResources
|
||||
|
||||
// Create deobf dev jars
|
||||
task deobfJar(type: Jar) {
|
||||
from(sourceSets.main.output) {
|
||||
appendix = 'deobf'
|
||||
}
|
||||
}
|
||||
from sourceSets.main.output
|
||||
classifier = 'deobf'
|
||||
}
|
||||
|
||||
// Create API library zip
|
||||
task apiZip(type: Zip) {
|
||||
from(sourceSets.main.java) {
|
||||
include "baubles/api/**"
|
||||
}
|
||||
classifier = 'api'
|
||||
task apiJar(type: Jar) {
|
||||
from(sourceSets.main.java) {
|
||||
include "baubles/api/**"
|
||||
}
|
||||
classifier = 'api'
|
||||
}
|
||||
|
||||
apiZip.mustRunAfter deobfJar
|
||||
|
||||
|
||||
artifacts {
|
||||
archives deobfJar
|
||||
archives apiZip
|
||||
task sourcesJar(type: Jar) {
|
||||
from sourceSets.main.allSource
|
||||
classifier = 'sources'
|
||||
}
|
||||
|
||||
|
||||
artifacts {
|
||||
archives deobfJar
|
||||
archives apiJar
|
||||
archives sourcesJar
|
||||
}
|
||||
Reference in new issue
Block a user