From e2b8b700f5d107675ed14db018a7dffabfbf2a91 Mon Sep 17 00:00:00 2001 From: leafy <80794784+leafreynolds@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:29:00 +1300 Subject: [PATCH] Fix branch not compiling to allow `gradle build` (#188) --- forge/build.gradle | 4 +++- gradle.properties | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/forge/build.gradle b/forge/build.gradle index 8c1bfe64b..809c5e062 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -50,7 +50,9 @@ dependencies { modImplementation "curse.maven:configured-457570:${configured_version}" modImplementation "curse.maven:jei-238222:${jei_version}" - // modCompileOnly "curse.maven:immersive-portals-355440:4375619" + //_must_ be compileOnly, not modCompileOnly, as the IP forge jar contains fabric related stuff that it isn't expecting for forge + //this also means that we cannot test immersive portals in the dev environment, as it wont get correct mappings + compileOnly "curse.maven:immersive-portals-355440:${ip_forge_version}" // With ForgeGradle 5, use the runtimeOnly configuration //runtimeOnly("me.djtheredstoner:DevAuth-${dev_auth_module_forge}:${dev_auth_forge_version}") diff --git a/gradle.properties b/gradle.properties index 6a0e4355d..87ccfdacd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -72,5 +72,6 @@ world_edit_version=3922622 structure_expansion_version=3909814 configured_version=4011355 jei_version=4239206 +ip_forge_version=4477626 dev_auth_module_forge=forge-latest dev_auth_forge_version=1.1.2