Add more artifacts

This commit is contained in:
raoulvdberge
2019-11-04 19:02:54 +01:00
parent 08f1fc051d
commit 2b042588b5

View File

@@ -108,3 +108,26 @@ jar {
])
}
}
task apiJar(type: Jar, dependsOn: 'classes') {
classifier = 'api'
from(sourceSets.main.output) {
include 'com/raoulvdberge/refinedstorage/api/**'
}
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task deobfJar(type:Jar) {
from sourceSets.main.output
classifier 'deobf'
}
artifacts {
archives sourcesJar
archives deobfJar
archives apiJar
}