From fb955566232bb668780376c5901fb031222ed8db Mon Sep 17 00:00:00 2001 From: Jozufozu Date: Fri, 26 Jan 2024 16:46:54 -0800 Subject: [PATCH] Bink and it's gone - Remove jarjar stuffs from gradle script --- build.gradle | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index 0018618a2..928e603ea 100644 --- a/build.gradle +++ b/build.gradle @@ -7,8 +7,6 @@ plugins { id 'org.spongepowered.mixin' version "${mixingradle_version}" } -jarJar.enable() - boolean dev = System.getenv('RELEASE') == null || System.getenv('RELEASE').equalsIgnoreCase('false'); ext.buildNumber = System.getenv('BUILD_NUMBER') @@ -114,7 +112,6 @@ idea { // Workaround for SpongePowered/MixinGradle#38 afterEvaluate { tasks.configureReobfTaskForReobfJar.mustRunAfter(tasks.compileJava) - tasks.configureReobfTaskForReobfJarJar.mustRunAfter(tasks.compileJava) } tasks.withType(JavaCompile).configureEach { @@ -170,17 +167,9 @@ void addManifest(jarTask) { } tasks.named('jar', Jar).configure { - archiveClassifier = 'slim' - - finalizedBy 'reobfJar' - addManifest(it) - addLicense(it) -} - -tasks.named('jarJar', Jar).configure { archiveClassifier = '' - finalizedBy 'reobfJarJar' + finalizedBy 'reobfJar' addManifest(it) addLicense(it) } @@ -200,7 +189,6 @@ publishing { artifactId = archivesBaseName fg.component(it) - jarJar.component(it) } } repositories {