diff --git a/fabric/build.gradle b/fabric/build.gradle index fc58b29..e052731 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -43,6 +43,8 @@ processResources { filesMatching("fabric.mod.json") { expand "version": project.version + expand "minecraftVersion": project.minecraft_version + expand "loaderVersion": project.loader_version } } diff --git a/fabric/src/fabric.mod.json b/fabric/src/fabric.mod.json index 0d04a6e..14a8692 100644 --- a/fabric/src/fabric.mod.json +++ b/fabric/src/fabric.mod.json @@ -17,8 +17,8 @@ "alt-auth.mixins.json" ], "depends": { - "fabricloader": ">=0.13.3", - "minecraft": ">=1.18.2" + "fabricloader": "${loaderVersion}", + "minecraft": "${minecraftVersion}" }, "recommends": { "modmenu": "*",