Depend on MixinBooter 4.2 for mixins, stop mixins from being packed

This commit is contained in:
Rongmario 2022-03-14 01:57:35 +00:00
parent c277dbf15c
commit a6e27f7842
2 changed files with 1 additions and 21 deletions

View file

@ -68,20 +68,8 @@ dependencies {
deobfCompile 'com.cleanroommc:assetmover:0.2' deobfCompile 'com.cleanroommc:assetmover:0.2'
} }
if (project.use_mixins) { if (project.use_mixins) {
embed ('org.spongepowered:mixin:0.8.3') { deobfCompile 'zone.rong:mixinbooter:4.2'
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'
} }
if (project.mixin_into_mods) {
deobfCompile 'zone.rong:mixinbooter:4.1'
}
} }
@ -121,9 +109,4 @@ jar {
} }
attributes(attribute_map) 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/*'
}
}
} }

View file

@ -12,8 +12,5 @@ use_mixins = false
use_coremod = false use_coremod = false
use_assetmover = false use_assetmover = false
pack_mixins_in_jar = false
mixin_into_mods = false
# Coremod Arguments # Coremod Arguments
coremod_plugin_class_name = coremod_plugin_class_name =