From f258a401671331028cc63f5406e44ed85a7be1d1 Mon Sep 17 00:00:00 2001 From: Jan Bayer Date: Wed, 20 Dec 2023 19:28:55 +0100 Subject: [PATCH] Relocate exposed to prevent conflict with other mods (e.g. Ledger) --- build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 9408788..4fda736 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -185,6 +185,9 @@ subprojects { // Luckily, shadow can relocate them to a different package. relocate("org.apache.commons.collections4", "dev.erdragh.shadowed.org.apache.commons.collections4") + // Relocating Exposed somewhere different so other mods not doing that don't run into issues (e.g. Ledger) + relocate("org.jetbrains.exposed", "dev.erdragh.shadowed.org.jetbrains.exposed") + exclude(".cache/**") //Remove datagen cache from jar. exclude("**/astralbot/datagen/**") //Remove data gen code from jar. exclude("**/org/slf4j/**")