From a3e24182fcc74cbfdc6b5f71076f394e999deb9e Mon Sep 17 00:00:00 2001 From: ev chang Date: Wed, 31 Jul 2024 20:45:20 +0900 Subject: [PATCH] Fix logging on Legacy Fabric --- versions/build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/versions/build.gradle.kts b/versions/build.gradle.kts index 42dcf54..d2d1860 100644 --- a/versions/build.gradle.kts +++ b/versions/build.gradle.kts @@ -58,6 +58,11 @@ dependencies { } } + if (platform.isLegacyFabric) { // Legacy Fabric bug + compileOnly(runtimeOnly("org.apache.logging.log4j:log4j-core:2.8.1")!!) + compileOnly(runtimeOnly("org.apache.logging.log4j:log4j-api:2.8.1")!!) + } + shadowImpl(rootProject.libs.kotlinx.coroutines) if (platform.isLegacyForge) {