From 9c8d6d0a86a36da7bbebe006fdaa2fda7c7772b6 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 9 Dec 2023 23:33:38 +0000 Subject: [PATCH] Actually use the dynamic depends blocks --- build.gradle | 3 ++- src/main/resources/fabric.mod.json | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index df2aeb0c..33c5f75f 100644 --- a/build.gradle +++ b/build.gradle @@ -86,7 +86,8 @@ processResources { expand "version": project.version.toString(), "minecraftVersion": project.minecraft_version_range, "loaderVersion": ">=${project.loader_version}", - "fabricVersion": ">=${project.fabric_version}" + "fabricVersion": ">=${project.fabric_version}", + "kirinVersion": ">=${project.kirin_version}" } from 'LICENSE' diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index efecb412..0db7de40 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -31,12 +31,11 @@ "minelp.mixin.json" ], "depends": { - "fabricloader": ">=0.12.0", + "minecraft": "${minecraftVersion}", + "fabricloader": "${loaderVersion}", "java": ">=17", - "fabric-api-base": ">=0.1.0", - "fabric-lifecycle-events-v1": ">=0.1.0", - "fabric-resource-loader-v0": ">=0.1.0", - "kirin": "*" + "fabric-api": "${fabricVersion}" + "kirin": "${kirinVersion}" }, "suggests": { "hdskins": "*",