diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle index 5ececca..e6d4434 100644 --- a/build.gradle +++ b/build.gradle @@ -16,10 +16,10 @@ plugins { id "com.github.johnrengelman.shadow" version "2.0.4" } -apply plugin: 'net.minecraftforge.gradle.forge' +apply plugin: 'net.minecraftforge.gradle.tweaker-client' apply plugin: 'org.spongepowered.mixin' -version = "1.1.0-dev" +version = "1.0.0" group = "gq.malwarefight.nosession" archivesBaseName = "nosession" @@ -27,10 +27,11 @@ compileJava.sourceCompatibility = compileJava.targetCompatibility = 1.8 compileJava.options.encoding = "UTF-8" minecraft { - version = "1.8.9-11.15.1.2318-1.8.9" + version = "1.8.9" runDir = "run" mappings = "stable_22" //mappings for 1.8.9 makeObfSourceJar = false //disable creation of sources jar + tweakClass = 'gq.malwarefight.nosession.mixin.InitialTweaker' } configurations { @@ -52,8 +53,6 @@ dependencies { exclude module: 'commons-io' exclude module: 'log4j-core' } - - compileOnly "net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9:universal" } processResources { @@ -91,8 +90,8 @@ jar { "TweakOrder": 0, "ModSide": "CLIENT", 'FMLCorePluginContainsFMLMod': true, - 'MixinConfigs': 'mixins.nosession.json', - "FMLCorePlugin": "gq.malwarefight.nosession.NoSessionLoadingPlugin" + 'TweakClass': 'gq.malwarefight.nosession.mixin.InitialTweaker', + 'MixinConfigs': 'mixins.nosession.json' } } |