Skip to content

Commit

Permalink
Centralize CyclopsCore version into gradle.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Aug 18, 2024
1 parent c187824 commit a137c48
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion buildSrc/src/main/groovy/multiloader-common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ processResources {
'forge_version' : forge_version,
'forge_loader_version_range' : forge_loader_version_range,
'forge_update_json_url' : forge_update_json_url,
'java_version' : java_version
'java_version' : java_version,
'cyclopscore_version' : cyclopscore_version
]

filesMatching(['pack.mcmeta', 'fabric.mod.json', 'META-INF/mods.toml', 'META-INF/neoforge.mods.toml', 'mixins.*.json']) {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ modrinth_project_id=aTMAqQMY
fabric_version=0.102.1+1.21.1
fabric_loader_version=0.15.11
# Dependencies
fabric_forgeconfigapiport_version=21.0.1
fabric_forgeconfigapiport_version=21.1.0

# NeoForge
neoforge_version=21.1.2
Expand Down
1 change: 1 addition & 0 deletions loader-fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
],

"depends": {
"cyclopscore": ">=${cyclopscore_version}",
"fabricloader": ">=${fabric_loader_version}",
"fabric-api": ">=${fabric_version}",
"java": ">=${java_version}"
Expand Down
2 changes: 1 addition & 1 deletion loader-forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description="${description}"
[[dependencies.${mod_id}]]
modId="cyclopscore"
mandatory=true
versionRange="[1.19.1,)"
versionRange="[${cyclopscore_version},)"
ordering="NONE"
side="BOTH"
[[dependencies.${mod_id}]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description="${description}"
[[dependencies.${mod_id}]]
modId="cyclopscore"
type="required"
versionRange="[1.19.1,)"
versionRange="[${cyclopscore_version},)"
ordering="NONE"
side="BOTH"
[[dependencies.${mod_id}]]
Expand Down

0 comments on commit a137c48

Please sign in to comment.