From aa2761446b28a416113a3ef09e5b4781402aabcc Mon Sep 17 00:00:00 2001 From: Stuart Pomeroy Date: Fri, 16 Aug 2024 11:59:52 +0100 Subject: [PATCH] hardcode the shimmer version --- common/build.gradle | 2 +- fabric/build.gradle | 2 +- forge/build.gradle | 12 +++++++----- gradle.properties | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/common/build.gradle b/common/build.gradle index 5d437b7..d2ee241 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -32,7 +32,7 @@ dependencies { shadowCommon "org.yaml:snakeyaml:${rootProject.snakeyaml_version}" // Shimmer - modImplementation "com.lowdragmc.shimmer:Shimmer-common:${minecraft_version}-${shimmer_version}" + modImplementation "com.lowdragmc.shimmer:Shimmer-common:${shimmer_version}" } publishing { diff --git a/fabric/build.gradle b/fabric/build.gradle index e2eba14..b1d1f6e 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -42,7 +42,7 @@ dependencies { if(include_shimmer == "true") { //Shimmer - modImplementation("com.lowdragmc.shimmer:Shimmer-fabric:${minecraft_version}-${shimmer_version}") { + modImplementation("com.lowdragmc.shimmer:Shimmer-fabric:${shimmer_version}") { exclude group: "maven.modrinth" exclude group: "com.jozufozu.flywheel" } diff --git a/forge/build.gradle b/forge/build.gradle index 9b03848..4a79c3d 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -60,11 +60,13 @@ dependencies { forgeRuntimeLibrary "org.yaml:snakeyaml:${rootProject.snakeyaml_version}" include "org.yaml:snakeyaml:${rootProject.snakeyaml_version}" - // Shimmer - modImplementation("com.lowdragmc.shimmer:Shimmer-forge:${minecraft_version}-${shimmer_version}") { - exclude group: "maven.modrinth" - exclude group: "icyllis.modernui" - exclude group: "com.jozufozu.flywheel" + if(include_shimmer == "true") { + // Shimmer + modImplementation("com.lowdragmc.shimmer:Shimmer-forge:${shimmer_version}") { + exclude group: "maven.modrinth" + exclude group: "icyllis.modernui" + exclude group: "com.jozufozu.flywheel" + } } } diff --git a/gradle.properties b/gradle.properties index 67c4d9c..f95170e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,7 +20,7 @@ parchment_version=2023.09.03 artnet4j_version=0.6.3 snakeyaml_version=2.2 -shimmer_version=0.2.4 +shimmer_version=1.20.1-0.2.4 release_type=ALPHA curseforge_type=alpha