From b28c8180b86669b65ba7922307c9ebf4b5ef9799 Mon Sep 17 00:00:00 2001 From: Username404 Date: Sun, 30 May 2021 11:32:06 +0200 Subject: [PATCH] Fix cloth-config in forge dev environments --- forge/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge/build.gradle.kts b/forge/build.gradle.kts index b91622d..13811f9 100644 --- a/forge/build.gradle.kts +++ b/forge/build.gradle.kts @@ -7,7 +7,7 @@ val serializationVer: String by rootProject dependencies { forge("net.minecraftforge:forge:${rootProject.architectury.minecraft}-${rootProject.property("forge_version")}.+") implementation("thedarkcolour:kotlinforforge:${rootProject.property("kotlinforforge")}") - api("me.shedaniel.cloth:cloth-config-forge:${rootProject.property("clothconfig_version")}") + modApi("me.shedaniel.cloth:cloth-config-forge:${rootProject.property("clothconfig_version")}") implementation(project(path = ":common")) { isTransitive = false } add("developmentForge", project(path = ":common")) { isTransitive = false } shadowC("org.jetbrains.kotlinx:kotlinx-serialization-core:$serializationVer") { isTransitive = false } // Needed for kotlinx-datetime