From 644bb6bb4a8012c75900c643d9863fe92c799e1d Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Fri, 8 Dec 2023 12:43:58 +0100 Subject: Depend on Fabric API (#449) * Make it depend on FAPI * Forge dep--- build.gradle | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 8bb13c3..7dfc0eb 100644 --- a/build.gradle +++ b/build.gradle @@ -78,12 +78,6 @@ dependencies { modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") { exclude(group: "net.fabricmc.fabric-api") } - - include(fabricApi.module("fabric-api-base", project.fabric_version)) - modImplementation include(fabricApi.module("fabric-networking-api-v1", project.fabric_version)) - modImplementation include(fabricApi.module("fabric-screen-api-v1", project.fabric_version)) - modImplementation include(fabricApi.module("fabric-rendering-v1", project.fabric_version)) - modImplementation include(fabricApi.module("fabric-resource-loader-v0", project.fabric_version)) } sourceSets.remove(sourceSets.test) @@ -158,7 +152,7 @@ curseforge { addGameVersion 'Java 17' relations { - embeddedLibrary 'fabric-api' + requiredDependency 'fabric-api' optionalDependency 'modmenu' optionalDependency 'cloth-config' } @@ -190,7 +184,7 @@ modrinth { dependencies { // The scope can be `required`, `optional`, or `incompatible` - embedded.project "fabric-api" + required.project "fabric-api" optional.project "modmenu" optional.project "cloth-config" } -- cgit v1.2.3