mirror of
https://github.com/LegacyModdingMC/UniMixins.git
synced 2026-10-25 20:32:33 +00:00
44 lines
1.0 KiB
Groovy
44 lines
1.0 KiB
Groovy
dependencies {
|
|
compile project(":module-mixin")
|
|
compile files(tasks.getByPath(":module-mixin:shadowJarUnimix").getOutputs().getFiles().getSingleFile())
|
|
shadow(project(":module-common")) {
|
|
transitive = false
|
|
}
|
|
}
|
|
|
|
archivesBaseName = archivesBaseName.replace("-1.7.10", "-mixingasm-1.7.10")
|
|
|
|
apply plugin: "com.github.johnrengelman.shadow"
|
|
|
|
shadowJar {
|
|
classifier = ''
|
|
configurations = [project.configurations.shadow]
|
|
|
|
relocate 'io.github.legacymoddingmc.unimixins.common', 'io.github.legacymoddingmc.unimixins.mixingasm.repackage.common'
|
|
|
|
manifest {
|
|
attributes (
|
|
'TweakClass': 'org.spongepowered.asm.launch.MixinTweaker',
|
|
'FMLCorePluginContainsFMLMod': true,
|
|
'ForceLoadAsMod': true,
|
|
'MixinConfigs': 'mixingasm.init.mixin.json,mixingasm.mixin.json',
|
|
'TweakOrder': 0,
|
|
)
|
|
}
|
|
}
|
|
|
|
jar {
|
|
dependsOn shadowJar
|
|
enabled = false
|
|
}
|
|
|
|
// Obfuscation is unnecessary since this module does not reference Minecraft classes
|
|
reobf.enabled = false
|
|
|
|
ext.uniVersion = version
|
|
version += "+" + ext.extraVersion
|
|
|
|
minecraft {
|
|
replace("@VERSION@", extraVersion)
|
|
}
|