From 1d6a2a49c0e337b753f0b195dd1e232bdf03dfe7 Mon Sep 17 00:00:00 2001 From: Srdjan-V <78452357+Srdjan-V@users.noreply.github.com> Date: Sun, 4 Sep 2022 20:43:59 +0200 Subject: [PATCH] Fix GHA --- build.gradle | 7 ++++++- gradle.properties | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) 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