diff --git a/buildscript/relocations.gradle b/buildscript/relocations.gradle index 0f9b3938..e9366cda 100644 --- a/buildscript/relocations.gradle +++ b/buildscript/relocations.gradle @@ -28,8 +28,11 @@ shadowJar { 'io.leangen.geantyref', 'org.yaml.snakeyaml', - // Adventure, EnhancedLegacyText, MCDiscordReserializer - 'net.kyori', + // Adventure (API isn't relocated always) + 'net.kyori.adventure.platform', + 'net.kyori.adventure.text.serializer', + + // EnhancedLegacyText, MCDiscordReserializer 'dev.vankka.enhancedlegacytext', 'dev.vankka.mcdiscordreserializer', 'dev.vankka.simpleast', diff --git a/bukkit/build.gradle b/bukkit/build.gradle index 9df4dd1c..0b943e23 100644 --- a/bukkit/build.gradle +++ b/bukkit/build.gradle @@ -48,5 +48,6 @@ dependencies { shadowJar { archiveFileName = 'bukkit.jarinjar' - // Relocations in buildscript/relocations.gradle + relocate 'net.kyori', 'com.discordsrv.dependencies.net.kyori' + // More relocations in buildscript/relocations.gradle } diff --git a/bungee/build.gradle b/bungee/build.gradle index e1c96e92..c03bb061 100644 --- a/bungee/build.gradle +++ b/bungee/build.gradle @@ -36,5 +36,6 @@ dependencies { shadowJar { archiveFileName = 'bungee.jarinjar' - // Relocations in buildscript/relocations.gradle + relocate 'net.kyori', 'com.discordsrv.dependencies.net.kyori' + // More relocations in buildscript/relocations.gradle }