Skip to content

Commit

Permalink
fix: forge version range
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHillcox committed Aug 29, 2023
1 parent 28a1c6e commit eba46b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 5 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit eba46b0

Please sign in to comment.