Don't relocate adventure api for velocity & sponge

This commit is contained in:
Vankka 2022-03-01 12:26:09 +02:00
parent eee94e4fc4
commit 1b688a329c
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0
3 changed files with 9 additions and 4 deletions

View File

@ -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',

View File

@ -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
}

View File

@ -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
}