Skip to content

Commit

Permalink
build: update for neoforge/fabric ranges, updated dep versions
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Aug 9, 2024
1 parent 861fd91 commit fe6b11f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ processResources {
filesMatching("fabric.mod.json") {
expand "version": project.version,
"archversion": project.architectury_version,
"fabricapiversion": project.fabric_api_version,
"fabricapiversionrange": project.fabric_api_version_range,
"mcversion": project.minecraft_version,
"ftblibraryversion": project.ftb_library_version
}
Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
]
},
"depends": {
"fabric": ">=${fabricapiversion}",
"fabric": "${fabricapiversionrange}",
"minecraft": "~${mcversion}",
"architectury": ">=${archversion}",
"ftblibrary": ">=${ftblibraryversion}"
Expand Down
10 changes: 6 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@ mod_id=ftbranks
readable_name=FTB Ranks
archives_base_name=ftb-ranks
maven_group=dev.ftb.mods
mod_version=2100.1.0
mod_version=2100.1.1
mod_author=FTB Team

minecraft_version=1.21

# Deps
forge_version=50.0.9
neoforge_version=21.0.4-beta
neoforge_version=21.0.163
neoforge_version_range=[21.0.143,)
neoforge_loader_version=4
fabric_loader_version=0.15.11
fabric_api_version=0.100.1+1.21
architectury_version=13.0.1
fabric_api_version=0.100.8+1.21
fabric_api_version_range=>=0.100.1+1.21
architectury_version=13.0.6

ftb_library_version=2100.1.0

Expand Down
2 changes: 1 addition & 1 deletion neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ processResources {
filesMatching("META-INF/neoforge.mods.toml") {
expand "version": project.version,
"archversion": project.architectury_version,
"neoforgeversion": project.neoforge_version,
"neoforgeversionrange": project.neoforge_version_range,
"neoforgeloaderversion": project.neoforge_loader_version,
"mcversion": project.minecraft_version,
"ftblibraryversion": project.ftb_library_version
Expand Down
2 changes: 1 addition & 1 deletion neoforge/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ config = "ftbranks-common.mixins.json"
[[dependencies.ftbranks]]
modId = "neoforge"
type = "required"
versionRange = "[${neoforgeversion},)"
versionRange = "${neoforgeversionrange}"
ordering = "NONE"
side = "BOTH"

Expand Down

0 comments on commit fe6b11f

Please sign in to comment.