Bink and it's gone

- Remove jarjar stuffs from gradle script
This commit is contained in:
Jozufozu 2024-01-26 16:46:54 -08:00
parent 5fc4a74860
commit fb95556623

View File

@ -7,8 +7,6 @@ plugins {
id 'org.spongepowered.mixin' version "${mixingradle_version}" id 'org.spongepowered.mixin' version "${mixingradle_version}"
} }
jarJar.enable()
boolean dev = System.getenv('RELEASE') == null || System.getenv('RELEASE').equalsIgnoreCase('false'); boolean dev = System.getenv('RELEASE') == null || System.getenv('RELEASE').equalsIgnoreCase('false');
ext.buildNumber = System.getenv('BUILD_NUMBER') ext.buildNumber = System.getenv('BUILD_NUMBER')
@ -114,7 +112,6 @@ idea {
// Workaround for SpongePowered/MixinGradle#38 // Workaround for SpongePowered/MixinGradle#38
afterEvaluate { afterEvaluate {
tasks.configureReobfTaskForReobfJar.mustRunAfter(tasks.compileJava) tasks.configureReobfTaskForReobfJar.mustRunAfter(tasks.compileJava)
tasks.configureReobfTaskForReobfJarJar.mustRunAfter(tasks.compileJava)
} }
tasks.withType(JavaCompile).configureEach { tasks.withType(JavaCompile).configureEach {
@ -170,17 +167,9 @@ void addManifest(jarTask) {
} }
tasks.named('jar', Jar).configure { tasks.named('jar', Jar).configure {
archiveClassifier = 'slim'
finalizedBy 'reobfJar'
addManifest(it)
addLicense(it)
}
tasks.named('jarJar', Jar).configure {
archiveClassifier = '' archiveClassifier = ''
finalizedBy 'reobfJarJar' finalizedBy 'reobfJar'
addManifest(it) addManifest(it)
addLicense(it) addLicense(it)
} }
@ -200,7 +189,6 @@ publishing {
artifactId = archivesBaseName artifactId = archivesBaseName
fg.component(it) fg.component(it)
jarJar.component(it)
} }
} }
repositories { repositories {