From 4ea0b5e6385b1ca092600312c6a9d26fca56ff70 Mon Sep 17 00:00:00 2001 From: Petr Ilin Date: Fri, 13 Jan 2023 07:08:11 +0300 Subject: Hotfix: do not relocate Exceptions --- build.gradle | 8 +++++++- gradle.properties | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index b783539..04712aa 100644 --- a/build.gradle +++ b/build.gradle @@ -40,6 +40,10 @@ repositories { dependencies { compileOnly("net.elytrium.limboapi:api:$limboapiVersion") + compileOnly("net.elytrium.commons:config:$elytriumCommonsVersion") + compileOnly("net.elytrium.commons:utils:$elytriumCommonsVersion") + compileOnly("net.elytrium.commons:velocity:$elytriumCommonsVersion") + compileOnly("net.elytrium.commons:kyori:$elytriumCommonsVersion") compileOnly("com.velocitypowered:velocity-api:$velocityVersion") annotationProcessor("com.velocitypowered:velocity-api:$velocityVersion") @@ -108,7 +112,9 @@ shadowJar { relocate("dev.samstevens.totp", "net.elytrium.limboauth.thirdparty.dev.samstevens.totp") relocate("org.apache.commons.codec", "net.elytrium.limboauth.thirdparty.org.apache.commons.codec") relocate("org.bstats", "net.elytrium.limboauth.thirdparty.org.bstats") - relocate("net.elytrium.commons", "net.elytrium.limboapi.thirdparty.commons") + relocate("net.elytrium.commons.velocity", "net.elytrium.limboapi.thirdparty.commons.velocity") + relocate("net.elytrium.commons.kyori", "net.elytrium.limboapi.thirdparty.commons.kyori") + relocate("net.elytrium.commons.config", "net.elytrium.limboapi.thirdparty.commons.config") } license { diff --git a/gradle.properties b/gradle.properties index 8539373..414a011 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,3 +5,4 @@ floodgateVersion=2.1.1-SNAPSHOT fastutilVersion=8.5.11 bstatsVersion=3.0.0 spotbugsVersion=4.7.3 +elytriumCommonsVersion=1.2.0 -- cgit