diff --git a/build.gradle b/build.gradle index 4ec6d9c..1300692 100644 --- a/build.gradle +++ b/build.gradle @@ -59,7 +59,7 @@ processResources { filteringCharset "UTF-8" filesMatching("fabric.mod.json") { - expand "version": project.version + expand "version": project.version, "supported_minecraft_version": project.supported_minecraft_version, "loader_version": project.loader_version, "fabric_version": project.fabric_version, "cloth_config_version": project.cloth_config_version, "modmenu_version": project.modmenu_version } } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 3ad1130..6c3da50 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -42,15 +42,15 @@ "realisticsleep.mixins.json" ], "depends": { - "fabricloader": ">=0.14.8", + "fabricloader": ">=${loader_version}", "minecraft": [ - "1.19.x" + "${supported_minecraft_version}" ], - "cloth-config": ">=5.3.63", - "fabric": ">=0.48.0" + "cloth-config": ">=${cloth_config_version}", + "fabric": ">=${fabric_version}" }, "suggests": { - "modmenu": ">=3.0.0" + "modmenu": ">=${modmenu_version}" }, "conflicts": { "tawct": "*",