Skip to content

Commit

Permalink
chore: update dep versions for neoforge/fabric/arch
Browse files Browse the repository at this point in the history
now separate used and required dep versions for neo/fabric
  • Loading branch information
desht committed Jul 31, 2024
1 parent 0120b1a commit 1014998
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

# [2100.1.5]

### Changed
* FTB Quests items are now registered to the `FTB Suite` creative tab instead of FTB Quests own tab
* In practice, this means they share a tab with other FTB mods, but only FTB Filter System registers an item at this time

### Fixed
* Rotated images now have a correctly rotated hitbox
* In addition, rotated images with a non-default aspect ratio now preview correctly during rotation
Expand Down
7 changes: 6 additions & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ processResources {
inputs.property "version", project.version

filesMatching("fabric.mod.json") {
expand "version": project.version
expand "version": project.version,
"archversion": project.architectury_api_version,
"fabricapiversionrange": project.fabric_api_version_range,
"mcversion": project.minecraft_version,
"ftblibraryversion": project.ftb_library_version,
"ftbteamsversion": project.ftb_teams_version
}
}

Expand Down
10 changes: 5 additions & 5 deletions fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"ftbquests-fabric.mixins.json"
],
"depends": {
"fabric": "*",
"minecraft": "~1.21",
"architectury": ">=13.0.0",
"ftblibrary": ">=2100.1.0",
"ftbteams": ">=2100.1.0"
"fabric": "${fabricapiversionrange}",
"minecraft": "~${mcversion}",
"architectury": ">=${archversion}",
"ftblibrary": ">=${ftblibraryversion}",
"ftbteams": ">=${ftbteamsversion}"
},
"breaks": {
}
Expand Down
9 changes: 5 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ minecraft_version=1.21
# Cross env
#forge_version=50.0.9
#forge_loader_version=49
neoforge_version=21.0.40-beta
# https://maven.neoforged.net/#/releases/net/neoforged/fancymodloader/loader
neoforge_version=21.0.146
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_api_version=13.0.2
fabric_api_version=0.100.8+1.21
fabric_api_version_range=>=0.100.1+1.21
architectury_api_version=13.0.6

ftb_library_version=2100.1.4
ftb_teams_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 @@ -44,7 +44,7 @@ processResources {
filesMatching("META-INF/neoforge.mods.toml") {
expand "version": project.version,
"archversion": project.architectury_api_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 @@ -18,7 +18,7 @@ Lets you easily create and play with quests
[[dependencies.ftbquests]]
modId = "neoforge"
type = "required"
versionRange = "[${neoforgeversion},)"
versionRange = "${neoforgeversionrange}"
ordering = "NONE"
side = "BOTH"

Expand Down

0 comments on commit 1014998

Please sign in to comment.