3636 noServerRunConfigs()
3737 if (project.platform.isLegacyForge) {
3838 launchConfigs.named(" client" ) {
39- property( " fml.coreMods.load " , " cc.polyfrost.oneconfig.plugin.LoadingPlugin " )
39+ arg( " --tweakClass " , " cc.polyfrost.oneconfigwrapper.OneConfigWrapper " )
4040 property(" mixin.debug.export" , " true" )
4141 }
4242 }
@@ -48,10 +48,6 @@ loom {
4848 mixin.defaultRefmapName.set(" mixins.${mod_id} .refmap.json" )
4949}
5050
51- repositories {
52- maven(" https://repo.woverflow.cc/" )
53- }
54-
5551val shade: Configuration by configurations.creating {
5652 configurations.implementation.get().extendsFrom(this )
5753}
@@ -63,19 +59,12 @@ sourceSets {
6359}
6460
6561repositories {
66- mavenCentral()
67- maven {
68- url = uri(" https://repo.polyfrost.cc/private" )
69- credentials(PasswordCredentials ::class )
70- authentication {
71- create<BasicAuthentication >(" basic" )
72- }
73- }
74- maven(" https://repo.woverflow.cc/" )
62+ maven(" https://repo.polyfrost.cc/releases" )
7563}
7664
7765dependencies {
78- implementation(" cc.polyfrost:oneconfig-1.8.9-forge:0.1.0" )
66+ compileOnly(" cc.polyfrost:oneconfig-1.8.9-forge:0.1.0-alpha26" )
67+ shade(" cc.polyfrost:oneconfig-wrapper-1.8.9-forge:1.0.0-alpha6" )
7968}
8069
8170tasks.processResources {
@@ -147,9 +136,7 @@ tasks {
147136 " ForceLoadAsMod" to true ,
148137 " TweakOrder" to " 0" ,
149138 " MixinConfigs" to " mixins.${mod_id} .json" ,
150- " FMLCorePlugin" to " cc.polyfrost.oneconfig.plugin.LoadingPlugin" ,
151- " TweakClass" to " org.spongepowered.asm.launch.MixinTweaker" ,
152- " FMLCorePluginContainsFMLMod" to " lol"
139+ " TweakClass" to " cc.polyfrost.oneconfigwrapper.OneConfigWrapper"
153140 )
154141 )
155142 }
0 commit comments