aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-06-18 00:12:38 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-06-18 00:12:38 +0700
commitd0c8b1f7c7792f5f00d5870d9f980d0101007592 (patch)
tree19337b071103dfe5505115db18282bfd2eaa40c6 /build.gradle.kts
parent4db4afb9156edfd7d5485f80e18739d205e23d27 (diff)
downloadOneConfig-d0c8b1f7c7792f5f00d5870d9f980d0101007592.tar.gz
OneConfig-d0c8b1f7c7792f5f00d5870d9f980d0101007592.tar.bz2
OneConfig-d0c8b1f7c7792f5f00d5870d9f980d0101007592.zip
migrate to tweaker
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts6
1 files changed, 2 insertions, 4 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 8f0aa55..fdcca6b 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -45,7 +45,7 @@ loom {
noServerRunConfigs()
if (project.platform.isLegacyForge) {
launchConfigs.named("client") {
- property("fml.coreMods.load", "cc.polyfrost.oneconfig.internal.plugin.LoadingPlugin")
+ arg("--tweakClass", "cc.polyfrost.oneconfig.internal.plugin.OneConfigTweaker")
property("mixin.debug.export", "true")
property("debugBytecode", "true")
}
@@ -238,9 +238,7 @@ tasks {
"ForceLoadAsMod" to true,
"TweakOrder" to "0",
"MixinConfigs" to "mixins.oneconfig.json",
- "TweakClass" to "org.spongepowered.asm.launch.MixinTweaker",
- //"FMLCorePlugin" to "cc.polyfrost.oneconfig.internal.plugin.LoadingPlugin",
- "FMLCorePluginContainsFMLMod" to "lol"
+ "TweakClass" to "cc.polyfrost.oneconfig.internal.plugin.OneConfigTweaker"
)
)
}