From fd502090c14ad985b3dc27f2ed3d64580bda1c6a Mon Sep 17 00:00:00 2001 From: Username404 Date: Tue, 26 Oct 2021 23:25:00 +0200 Subject: [PATCH] Use modImplementation instead of modRuntime and modCompile in the fabric/build.gradle.kts file --- fabric/build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts index e368330..9e7ed94 100644 --- a/fabric/build.gradle.kts +++ b/fabric/build.gradle.kts @@ -17,12 +17,12 @@ dependencies { include(modApi("${Groups.FabricApi}:fabric-rendering-v1:${rootProject.property("fabric_rendering_api_version")}")!!) include(modApi("${Groups.FabricApi}:fabric-api-base:${rootProject.property("fabric_api_base_version")}")!!) modApi("me.shedaniel.cloth:cloth-config-fabric:${rootProject.property("clothconfig_version")}") { exclude(group = Groups.FabricApi) } - include(modRuntime("${Groups.FabricApi}:fabric-resource-loader-v0:${rootProject.property("fabric_resource_loader_version")}")!!) + include(modImplementation("${Groups.FabricApi}:fabric-resource-loader-v0:${rootProject.property("fabric_resource_loader_version")}")!!) modImplementation(group = "net.fabricmc", name = "fabric-language-kotlin", version = rootProject.property("fabric_language_kotlin") as String) - modRuntime(modCompileOnly("com.terraformersmc:modmenu:${rootProject.property("modmenu_version")}") { + modImplementation("com.terraformersmc:modmenu:${rootProject.property("modmenu_version")}") { exclude(group = Groups.FabricApi, module = "fabric-api-base") exclude(group = Groups.FabricApi, module = "fabric-resource-loader-v0") - }) + } implementation(project(path = ":common")) { isTransitive = false } add("developmentFabric", project(path = ":common")) { isTransitive = false } shadowC(project(path = ":common", configuration = "transformProductionFabric")) { isTransitive = false }