From a8d39d07faff410a5c3a3a27d1ecd307707fc0c3 Mon Sep 17 00:00:00 2001 From: Petr Ilin Date: Fri, 13 Jan 2023 07:24:54 +0300 Subject: [PATCH] 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 32dc96a..d68b8b3 100644 --- a/build.gradle +++ b/build.gradle @@ -40,6 +40,10 @@ repositories { dependencies { compileOnly("net.elytrium.limboapi:api:$limboapiVersion") compileOnly("net.elytrium:limboauth:$limboauthVersion") + 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") @@ -77,7 +81,9 @@ shadowJar { relocate("net.dv8tion.jda", "net.elytrium.limboauth.socialaddon.thirdparty.net.dv8tion.jda") relocate("org.telegram.telegrambots", "net.elytrium.limboauth.socialaddon.thirdparty.org.telegram.telegrambots") relocate("com.vk.api", "net.elytrium.limboauth.socialaddon.thirdparty.com.vk.api") - 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 ee472c1..5e471d5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,7 @@ limboauthVersion=1.1.0 velocityVersion=3.2.0-SNAPSHOT bstatsVersion=3.0.0 spotbugsVersion=4.7.3 +elytriumCommonsVersion=1.2.0 jdaVersion=5.0.0-alpha.9 telegrambotsVersion=6.1.0