Depend on MixinBooter 4.2 for mixins, stop mixins from being packed
This commit is contained in:
parent
c277dbf15c
commit
a6e27f7842
2 changed files with 1 additions and 21 deletions
19
build.gradle
19
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/*'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 =
|
Loading…
Reference in a new issue