From b41e54e6a6e05bf5b4bc76f302848f4cf65cd8d5 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 25 Apr 2024 22:09:51 -0500 Subject: [PATCH] shade in apache.logging for the standalone jar --- core/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/build.gradle b/core/build.gradle index bb7aae297..172f997d8 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -62,8 +62,8 @@ dependencies { // All of these dependencies are in Vanilla Minecraft, but we nee // needed for the standalone jar -// shade 'org.apache.logging.log4j:log4j-core:2.23.1' -// shade 'org.apache.logging.log4j:log4j-api:2.23.1' + shade("org.apache.logging.log4j:log4j-core:2.23.1") + shade("org.apache.logging.log4j:log4j-api:2.23.1") // SVG (not needed atm) //shade("com.formdev:svgSalamander:${rootProject.svgSalamander_version}") @@ -114,6 +114,8 @@ shadowJar { // Netty relocate "io.netty", "${librariesLocation}.netty" + + relocate "org.apache.logging", "${librariesLocation}.apache.logging" mergeServiceFiles()