Skip to content

Commit

Permalink
Relocate kyori legacy and gson separate
Browse files Browse the repository at this point in the history
  • Loading branch information
rexlManu committed Nov 15, 2023
1 parent aec45f1 commit b9d4ed6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spigot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand All @@ -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'
}
}

0 comments on commit b9d4ed6

Please sign in to comment.