diff --git a/build.gradle b/build.gradle index 211a804b..e0d800de 100644 --- a/build.gradle +++ b/build.gradle @@ -110,7 +110,8 @@ processResources { expand "version": project.version, "mcversion": project.mc_version, "forgeversion": project.forge_version, - "forgeshortversion": project.forge_version.split('\\.')[0] + "forgeshortversion": project.forge_version.split('\\.')[0], + "forge_acceptable_range": project.forge_acceptable_range } doLast { diff --git a/gradle.properties b/gradle.properties index 456848ab..40fe691e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,12 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false #Mod Info -mod_version=1.15.1 +mod_version=1.15.2 #Dependencies mc_version=1.20.1 + +# This is actually neoforge now forge_version=47.1.70 +forge_acceptable_range=[47.1.0,48) + jei_version=15.1.0.19 diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 16c0fe28..6257ade3 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -18,7 +18,7 @@ description='''Mining is better with lasers.''' [[dependencies.mininggadgets]] modId="forge" mandatory=true - versionRange="[${forgeversion},)" + versionRange="$forge_acceptable_range" ordering="NONE" side="BOTH"