From 016fa46c798ad414ee094860fcb0bcb4b8977eeb Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Fri, 16 Feb 2024 21:42:26 +0100 Subject: [PATCH] Fix resources process gradle task --- build.gradle | 1 + src/main/resources/fabric.mod.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 1a20268..37b1448 100755 --- a/build.gradle +++ b/build.gradle @@ -90,6 +90,7 @@ processResources { inputs.property "version", project.version inputs.property "minecraft_version", project.minecraft_version inputs.property "loader_version", project.loader_version + inputs.property "mod_id", project.mod_id filteringCharset "UTF-8" filesMatching("fabric.mod.json") { diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 397963f..6f73f88 100755 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -26,8 +26,8 @@ "reframed.mixins.json" ], "depends": { - "minecraft": ">=${minecraft_version}", - "fabricloader": "${loader_version}", + "minecraft": "${minecraft_version}", + "fabricloader": "^${loader_version}", "fabric-api": "*" } } \ No newline at end of file