mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Remove the superfluous jars
This commit is contained in:
parent
30e3d8ebb5
commit
03949c619f
1 changed files with 8 additions and 8 deletions
16
build.gradle
16
build.gradle
|
@ -97,6 +97,8 @@ litemod.json {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
archivesBaseName = "mod-${project.name.toLowerCase()}"
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
file('build.number').delete()
|
file('build.number').delete()
|
||||||
}
|
}
|
||||||
|
@ -108,14 +110,12 @@ jar {
|
||||||
extension 'jar'
|
extension 'jar'
|
||||||
}
|
}
|
||||||
|
|
||||||
archivesBaseName = "mod-${project.name.toLowerCase()}"
|
|
||||||
|
|
||||||
task copyBGPones(type: Copy) {
|
task copyBGPones(type: Copy) {
|
||||||
|
|
||||||
def illegals = /[^a-z0-9_\/.-]/
|
def illegals = /[^a-z0-9_\/.-]/
|
||||||
|
|
||||||
from "skins/Background Ponies"
|
from "skins/Background Ponies"
|
||||||
// TODO: What is tempDir????
|
// TODO: What is tempDir????
|
||||||
into temporaryDir
|
into temporaryDir
|
||||||
|
|
||||||
eachFile {
|
eachFile {
|
||||||
|
@ -147,11 +147,9 @@ shadowJar {
|
||||||
|
|
||||||
relocate 'org.apache.http.entity.mime', 'com.voxelmodpack.repack.org.apache.http.entity.mime'
|
relocate 'org.apache.http.entity.mime', 'com.voxelmodpack.repack.org.apache.http.entity.mime'
|
||||||
exclude 'dummyThing'
|
exclude 'dummyThing'
|
||||||
}
|
doLast {
|
||||||
|
file('build/libs/' + archivesBaseName + '-' + version + '-base.jar').delete();
|
||||||
sourceJar {
|
}
|
||||||
// add hdskins sources
|
|
||||||
from sourceSets.hdskins.allSource
|
|
||||||
}
|
}
|
||||||
|
|
||||||
task srgJar(type: Jar) {
|
task srgJar(type: Jar) {
|
||||||
|
@ -162,6 +160,8 @@ task srgJar(type: Jar) {
|
||||||
classifier "mc$minecraft.version-srg"
|
classifier "mc$minecraft.version-srg"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourceJar.enabled = false
|
||||||
|
|
||||||
reobf {
|
reobf {
|
||||||
srgJar {
|
srgJar {
|
||||||
mappingType = 'SEARGE'
|
mappingType = 'SEARGE'
|
||||||
|
|
Loading…
Reference in a new issue