Remove the superfluous jars

This commit is contained in:
Sollace 2018-11-15 00:51:44 +02:00
parent 30e3d8ebb5
commit 03949c619f

View file

@ -97,6 +97,8 @@ litemod.json {
]
}
archivesBaseName = "mod-${project.name.toLowerCase()}"
afterEvaluate {
file('build.number').delete()
}
@ -108,8 +110,6 @@ jar {
extension 'jar'
}
archivesBaseName = "mod-${project.name.toLowerCase()}"
task copyBGPones(type: Copy) {
def illegals = /[^a-z0-9_\/.-]/
@ -147,11 +147,9 @@ shadowJar {
relocate 'org.apache.http.entity.mime', 'com.voxelmodpack.repack.org.apache.http.entity.mime'
exclude 'dummyThing'
doLast {
file('build/libs/' + archivesBaseName + '-' + version + '-base.jar').delete();
}
sourceJar {
// add hdskins sources
from sourceSets.hdskins.allSource
}
task srgJar(type: Jar) {
@ -162,6 +160,8 @@ task srgJar(type: Jar) {
classifier "mc$minecraft.version-srg"
}
sourceJar.enabled = false
reobf {
srgJar {
mappingType = 'SEARGE'