From 464e425eb7be844dacf52b8d14361360a73f4ff7 Mon Sep 17 00:00:00 2001 From: tobinio Date: Tue, 1 Jul 2025 15:58:41 +0200 Subject: [PATCH] remove hard requirement for ModMenu - resolves #13 --- build.gradle | 5 ++++- src/main/resources/fabric.mod.json | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index c55b57f..d77b99f 100644 --- a/build.gradle +++ b/build.gradle @@ -39,9 +39,12 @@ dependencies { // Fabric API. This is technically optional, but you probably want it anyway. modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modImplementation "dev.isxander:yet-another-config-lib:${project.yacl_version}" - modImplementation("com.terraformersmc:modmenu:${project.modmenu_version}") + modCompileOnly("com.terraformersmc:modmenu:${project.modmenu_version}") modCompileOnly "maven.modrinth:sodium:${project.sodium_version}" + + modLocalRuntime("com.terraformersmc:modmenu:${project.modmenu_version}") + modLocalRuntime "maven.modrinth:sodium:${project.sodium_version}" } processResources { diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index e5dc3a9..9c8d619 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -32,7 +32,6 @@ "minecraft": "~1.21", "java": ">=21", "fabric-api": "*", - "yet_another_config_lib_v3": "*", - "modmenu": "*" + "yet_another_config_lib_v3": "*" } } \ No newline at end of file -- 2.51.2