From 1c7f166dd8bb594568b3ef77107beb89a824a177 Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 7 Sep 2023 14:13:22 +0100 Subject: [PATCH] Update fabric.mod.json --- build.gradle | 5 +++++ src/main/resources/fabric.mod.json | 15 ++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 6dafa9e7..2a91d430 100644 --- a/build.gradle +++ b/build.gradle @@ -90,6 +90,11 @@ processResources { filesMatching("fabric.mod.json") { expand "version": project.version.toString() + expand "minecraftVersion": project.minecraft_version_range + expand "loaderVersion": ">=${project.loader_version}" + expand "fabricVersion": ">=${project.fabric_version}" + expand "fabworkVersion": ">=${project.fabwork_version}" + expand "kirinVersion": ">=${project.kirin_version}" } } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index b5dbb05f..2b0578b1 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -5,6 +5,7 @@ "name": "Unicopia", "description": "Magical Abilities for Mine Little Pony!", "authors": [ "Sollace" ], + "contributors": [ "LingVarr", "Cryghast", "FollowSlipstream" ], "contact": { "sources": "https://github.com/Sollace/Unicopia", "issues": "https://github.com/Sollace/Unicopia/issues" @@ -34,10 +35,11 @@ ] }, "depends": { - "fabricloader": ">=0.12.0", + "minecraft": "${minecraftVersion}", + "fabricloader": "${loaderVersion}", "java": ">=17", - "fabric-api-base": ">=0.1.0", - "kirin": "*" + "fabric-api-base": "${fabricVersion}", + "kirin": "${kirinVersion}" }, "suggests": { "minelp": "*", @@ -49,8 +51,11 @@ }, "modmenu": { "links": { - "modmenu.discord": "https://discord.gg/zKSZ8Mg" - } + "modmenu.discord": "https://discord.gg/zKSZ8Mg", + "modmenu.github_releases": "https://github.com/Sollace/Unicopia/releases", + "modmenu.modrinth": "https://modrinth.com/mod/unicopia" + }, + "update_checker": true } } }