From a6e27f78422240984971328a3fccd2acbb9b1c00 Mon Sep 17 00:00:00 2001 From: Rongmario Date: Mon, 14 Mar 2022 01:57:35 +0000 Subject: [PATCH] Depend on MixinBooter 4.2 for mixins, stop mixins from being packed --- build.gradle | 19 +------------------ gradle.properties | 3 --- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/build.gradle b/build.gradle index 9407453..5542286 100644 --- a/build.gradle +++ b/build.gradle @@ -68,20 +68,8 @@ dependencies { deobfCompile 'com.cleanroommc:assetmover:0.2' } if (project.use_mixins) { - embed ('org.spongepowered:mixin:0.8.3') { - exclude module: 'asm-commons' - exclude module: 'asm-tree' - exclude module: 'launchwrapper' - exclude module: 'guava' - exclude module: 'log4j-core' - exclude module: 'gson' - exclude module: 'commons-io' - } - annotationProcessor 'org.spongepowered:mixin:0.8.3:processor' + deobfCompile 'zone.rong:mixinbooter:4.2' } - if (project.mixin_into_mods) { - deobfCompile 'zone.rong:mixinbooter:4.1' - } } @@ -121,9 +109,4 @@ jar { } attributes(attribute_map) } - if (project.use_mixins && project.pack_mixins_in_jar) { - from (configurations.embed.collect { it.isDirectory() ? it : zipTree(it) }) { - exclude 'LICENSE.txt', 'module-info.class', 'META-INF/*' - } - } } diff --git a/gradle.properties b/gradle.properties index 1d7550a..6705ff8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,8 +12,5 @@ use_mixins = false use_coremod = false use_assetmover = false -pack_mixins_in_jar = false -mixin_into_mods = false - # Coremod Arguments coremod_plugin_class_name = \ No newline at end of file