diff --git a/build.gradle b/build.gradle index e86e791..d746a62 100644 --- a/build.gradle +++ b/build.gradle @@ -120,7 +120,12 @@ repositories { dependencies { minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2860' - compileOnly 'srki2k:tweakedpetroleum:1.+' + if (project.local_env.toBoolean()) { + compileOnly 'srki2k:tweakedpetroleum:1.+' + } else { + implementation('curse.maven:TweakedPetroleum-653506:3968574') + } + implementation 'CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.20.679' implementation fg.deobf('curse.maven:ImmersiveEngineering-231951:2974106') diff --git a/gradle.properties b/gradle.properties index dc0c501..0cf7a2b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,9 @@ org.gradle.jvmargs = -Xmx3G org.gradle.daemon = false +local_env = false + + # Mod Information mod_version = 1.0.0 maven_group = srki2k