diff options
-rw-r--r-- | build.gradle | 8 |
1 files changed, 7 insertions, 1 deletions
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 |