From 22b8bc19e10b40c8320fc50c05b69fd9b70065c4 Mon Sep 17 00:00:00 2001 From: Username404 Date: Fri, 25 Mar 2022 15:21:24 +0100 Subject: [PATCH] Don't include the fabric api in the common project Signed-off-by: Username404 --- common/build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 3749e36..8a721e1 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -1,7 +1,9 @@ architectury { common(); injectInjectables = false } dependencies { modImplementation("net.fabricmc:fabric-loader:${rootProject.property("fabric_loader_version")}") - implementation("me.shedaniel.cloth:cloth-config:${rootProject.property("clothconfig_version")}") + implementation("me.shedaniel.cloth:cloth-config:${rootProject.property("clothconfig_version")}") { + exclude(module = "fabric-api") + } } tasks.getByName("shrinkJar").enabled = false