Ascension/buildscript/relocations.gradle

64 lines
1.6 KiB
Groovy
Raw Normal View History

2021-07-29 03:14:29 +02:00
// Relocations
shadowJar {
[
// JDA, WS
2021-07-29 03:14:29 +02:00
'net.dv8tion.jda',
2021-10-19 22:17:30 +02:00
'com.iwebpp',
2021-07-29 03:14:29 +02:00
'com.neovisionaries.ws',
// Trove
'gnu.trove',
// Jackson
'com.fasterxml.jackson',
// okhttp
2021-07-29 03:14:29 +02:00
'okhttp3',
'okio',
2021-10-19 22:17:30 +02:00
2021-07-29 03:14:29 +02:00
// DependencyDownload
'dev.vankka.dependencydownload',
'dev.vankka.mcdependencydownload',
'me.lucko.jarrelocator',
'org.objectweb.asm',
2021-10-19 22:17:30 +02:00
// Configurate, geantyref, yaml
2021-07-29 03:14:29 +02:00
'org.spongepowered.configurate',
2021-10-19 22:17:30 +02:00
'io.leangen.geantyref',
2021-07-29 03:14:29 +02:00
'org.yaml.snakeyaml',
2021-10-19 22:17:30 +02:00
// Adventure, EnhancedLegacyText, MCDiscordReserializer
'net.kyori',
'dev.vankka.enhancedlegacytext',
2021-10-19 22:17:30 +02:00
'dev.vankka.mcdiscordreserializer',
'dev.vankka.simpleast',
// Caffeine
'com.github.benmanes.caffeine',
// Commons
'org.apache.commons',
// Checker Framework
'org.checkerframework',
// Gson, Google error prone annotations
'com.google.gson',
'com.google.errorprone.annotations',
// Webhooks
'club.minnced',
'org.json',
2021-07-29 03:14:29 +02:00
].each {
relocate it, 'com.discordsrv.dependencies.' + it
}
// SLF4J
relocate('org.slf4j', 'com.discordsrv.dependencies.org.slf4j') {
include('*')
exclude('com.discordsrv.logging.impl.SLF4JLoggerImpl')
exclude('com.discordsrv.velocity.DiscordSRVVelocityBootstrap')
}
2021-07-29 03:14:29 +02:00
}