From 48b828c85c86c123447000d9fda4c65d49d43f3a Mon Sep 17 00:00:00 2001 From: Pyrofab Date: Wed, 2 Mar 2022 11:28:52 +0100 Subject: [PATCH] Narrow fabric api dependency --- build.gradle | 3 +-- changelog.md | 6 ++++++ gradle.properties | 2 +- src/main/resources/fabric.mod.json | 2 +- src/testmod/resources/fabric.mod.json | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index a12778b..10ef1ce 100644 --- a/build.gradle +++ b/build.gradle @@ -37,8 +37,7 @@ dependencies { mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" - // Fabric API. This is technically optional, but you probably want it anyway. - modLocalImplementation("net.fabricmc.fabric-api:fabric-api:${project.fabric_version}") + modImplementation fabricApi.module("fabric-gametest-api-v1", fabric_version) modLocalImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-base:${cca_version}") modLocalImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${cca_version}") api 'junit:junit:4.13' diff --git a/changelog.md b/changelog.md index e2bf3f6..e9299a9 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +------------------------------------------------------ +Version 0.5.2 +------------------------------------------------------ +**Changes** +- Switched dependency declaration from Fabric API to fabric-gametest-api-v1 + ------------------------------------------------------ Version 0.5.1 ------------------------------------------------------ diff --git a/gradle.properties b/gradle.properties index 062430c..fd63e02 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G loader_version=0.13.3 # Mod Properties - mod_version = 0.5.1 + mod_version = 0.5.2 maven_group = io.github.ladysnake archives_base_name = elmendorf diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index a7a1c89..0f9ac13 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -26,7 +26,7 @@ "depends": { "fabricloader": ">=0.11.3", - "fabric": "*", + "fabric-gametest-api-v1": "*", "minecraft": "1.18.x", "java": ">=17" }, diff --git a/src/testmod/resources/fabric.mod.json b/src/testmod/resources/fabric.mod.json index 5c45449..ea9f75e 100644 --- a/src/testmod/resources/fabric.mod.json +++ b/src/testmod/resources/fabric.mod.json @@ -30,8 +30,8 @@ "depends": { "fabricloader": ">=0.11.3", - "fabric": "*", "minecraft": "1.18.x", + "elmendorf": "*", "java": ">=17" },