Fix versions in fabric.mod.json and mods.toml

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404 2023-04-28 21:05:31 +02:00
parent 4df3066134
commit 9e0214acd9
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
3 changed files with 6 additions and 4 deletions

View File

@ -234,7 +234,9 @@ allprojects {
"mod_group" to this@allprojects.group,
"fabric_kotlin" to rootProject.property("fabric_language_kotlin"),
"kotlinforforge" to rootProject.property("kotlinforforge"),
"clothconfig" to rootProject.property("clothconfig_version")
"clothconfig" to rootProject.property("clothconfig_version"),
"fabric_loader" to rootProject.property("fabric_loader_version"),
"forge_version" to rootProject.property("forge_version").toString().dropLast(2)
)
inputs.properties(modProperties)
filesNotMatching(listOf("*.png")) {

View File

@ -33,11 +33,11 @@
"snowygui-fabric.mixins.json"
],
"depends": {
"fabricloader": ">=0.11.0",
"fabric-loader": ">=${fabric_loader}",
"fabric-language-kotlin": ">=${fabric_kotlin}",
"fabric-resource-loader-v0": "*",
"fabric-rendering-v1": "*",
"minecraft": ">=1.19-alpha.22.16.b"
"minecraft": ">=${minecraft_version}"
},
"recommends": {
"cloth-config2": ">=${clothconfig}"

View File

@ -23,7 +23,7 @@ side = "CLIENT"
[[dependencies.snowygui]]
modId = "forge"
mandatory = true
versionRange = "[37,)"
versionRange = "[${forge_version},)"
ordering = "NONE"
side = "BOTH"