diff --git a/bungeecord/build.gradle b/bungeecord/build.gradle index b05b57f318..7b09ee2019 100644 --- a/bungeecord/build.gradle +++ b/bungeecord/build.gradle @@ -6,9 +6,10 @@ dependencies { } shadowJar { - relocate 'net.kyori.adventure.text.serializer', 'io.github.retrooper.packetevents.adventure.serializer' + relocate 'net.kyori.adventure.text.serializer.gson', 'io.github.retrooper.packetevents.adventure.serializer.gson' + relocate 'net.kyori.adventure.text.serializer.legacy', 'io.github.retrooper.packetevents.adventure.serializer.legacy' relocate 'net.kyori.adventure.util.Codec', 'io.github.retrooper.packetevents.adventure.util.Codec' dependencies { exclude(dependency('com.google.code.gson:gson:2.8.0')) } -} \ No newline at end of file +} diff --git a/spigot/build.gradle b/spigot/build.gradle index e87d83eed9..e1cfdff9a9 100644 --- a/spigot/build.gradle +++ b/spigot/build.gradle @@ -8,7 +8,8 @@ java.sourceCompatibility = JavaVersion.VERSION_1_8 java.targetCompatibility = JavaVersion.VERSION_1_8 shadowJar { - relocate 'net.kyori.adventure.text.serializer', 'io.github.retrooper.packetevents.adventure.serializer' + relocate 'net.kyori.adventure.text.serializer.gson', 'io.github.retrooper.packetevents.adventure.serializer.gson' + relocate 'net.kyori.adventure.text.serializer.legacy', 'io.github.retrooper.packetevents.adventure.serializer.legacy' dependencies { exclude(dependency('com.google.code.gson:gson:2.8.0')) exclude(dependency('com.google.code.gson:gson:2.8.5')) @@ -25,4 +26,4 @@ dependencies { compileOnly 'org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT' compileOnly 'com.viaversion:viaversion:4.5.0' compileOnly 'com.github.ProtocolSupport:ProtocolSupport:3d24efeda6' -} \ No newline at end of file +}