From f17bc1eccd65f803b41b352351645e87a1ce68d0 Mon Sep 17 00:00:00 2001 From: coolGi Date: Wed, 7 Feb 2024 23:32:33 +1030 Subject: [PATCH] Fixed JOML not being shadowed (not being included in the jar) --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index f6a938675..d995fbf11 100644 --- a/build.gradle +++ b/build.gradle @@ -200,7 +200,7 @@ subprojects { p -> implementation("org.apache.logging.log4j:log4j-core:${rootProject.log4j_version}") // JOML - implementation("org.joml:joml:${rootProject.joml_version}") + forgeShadowMe("org.joml:joml:${rootProject.joml_version}") // JUnit tests implementation("org.junit.jupiter:junit-jupiter:5.8.2") @@ -298,6 +298,9 @@ subprojects { p -> // Sqlite Database //At the moment, there is a bug in this library which doesnt allow it to be relocated // relocate "org.sqlite", "${librariesLocation}.sqlite" + + // JOML + relocate "org.joml", "${librariesLocation}.joml" // NightConfig (includes Toml & Json) relocate "com.electronwill.nightconfig", "${librariesLocation}.electronwill.nightconfig"