From ce45e5cb06a70c10e90195ef4495dc83265abff3 Mon Sep 17 00:00:00 2001 From: makamys Date: Fri, 3 Feb 2023 20:01:44 +0100 Subject: [PATCH] Use legacy ASM package name in GTNH's Mixin Other modules use this package name, and I don't want to make separate builds of them for GTNH's Mixin, so I'll just use the same package name in all modules. --- module-mixin/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module-mixin/build.gradle b/module-mixin/build.gradle index a435511..f1adb13 100644 --- a/module-mixin/build.gradle +++ b/module-mixin/build.gradle @@ -187,7 +187,8 @@ if(mixinSource == "fabric" || mixinSource == "spongepowered" || mixinSource == " exclude 'META-INF/MANIFEST.MF', 'META-INF/maven/**', 'META-INF/*.RSA', 'META-INF/*.SF' exclude '**/module-info.class' - relocate 'org.objectweb.asm', 'org.spongepowered.libraries.org.objectweb.asm' + // we use this instead of 'org.spongepowered.libraries.org.objectweb.asm' + relocate 'org.objectweb.asm', 'org.spongepowered.asm.lib' relocate 'com.google.common', 'org.spongepowered.libraries.com.google.common' relocate 'com.google.thirdparty.publicsuffix', 'org.spongepowered.libraries.com.google.thirdparty.publicsuffix' }