Files
makamys 6c55d33c18 Move GTNH MixinExtras generator to GTNHMixins module
It shouldn't be around if you're not using the GTNHMixins module
2023-10-21 11:50:22 +02:00

29 lines
732 B
Groovy

dependencies {
compileOnly('org.spongepowered:mixin:0.8.5')
shadow(project(":module-common")) {
transitive = false
}
}
archivesBaseName = archivesBaseName.replace("-1.7.10", "-compat-1.7.10")
apply plugin: "com.github.johnrengelman.shadow"
shadowJar {
configurations = [project.configurations.shadow]
classifier = ''
relocate 'io.github.legacymoddingmc.unimixins.common', 'io.github.legacymoddingmc.unimixins.compat.repackage.common'
manifest {
attributes (
'TweakClass': 'org.spongepowered.asm.launch.MixinTweaker',
'FMLCorePluginContainsFMLMod': true,
'ForceLoadAsMod': true,
'FMLCorePlugin': 'io.github.legacymoddingmc.unimixins.compat.CompatCore'
)
}
}
jar.dependsOn shadowJar
jar.enabled = false