From a0f40b674eb8696e4145aefc960ae0e87173fcb1 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Fri, 10 Jun 2022 19:59:39 +0200 Subject: kotlin hurts my brain wyvest pls help --- build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index cbc862d..f63f9c8 100644 --- a/build.gradle +++ b/build.gradle @@ -28,6 +28,7 @@ loom { launchConfigs { client { arg("--tweakClass", "cc.woverflow.onecore.tweaker.OneCoreTweaker") + arg("-Dfml.coreMods.load", "cc.polyfrost.oneconfigwrapper.OneConfigWrapper") property("onecore.mixin", "mixins.${mod_id}.json") } } @@ -50,6 +51,7 @@ configurations { repositories { maven { url 'https://repo.woverflow.cc/' } + maven { url 'https://repo.polyfrost.cc/releases'} } dependencies { @@ -62,6 +64,8 @@ dependencies { transitive = false } compileOnly ('org.spongepowered:mixin:0.8.5-SNAPSHOT') + compileOnly('cc.polyfrost:oneconfig-1.8.9-forge:0.1.0-alpha1') + include('cc.polyfrost:oneconfig-wrapper-1.8.9-forge:1.0.0') } processResources { @@ -108,6 +112,8 @@ jar { 'ForceLoadAsMod': true, 'TweakClass': 'cc.woverflow.onecore.tweaker.OneCoreTweaker', 'MixinConfigs': "mixins.${mod_id}.json", - "TweakOrder": "0" + "TweakOrder": "0", + "FMLCorePlugin": "cc.polyfrost.oneconfigwrapper.OneConfigWrapper", + "FMLCorePluginContainsFMLMod": "yes", ) } \ No newline at end of file -- cgit