mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +01:00
64 lines
1.6 KiB
Groovy
64 lines
1.6 KiB
Groovy
// Relocations
|
|
|
|
shadowJar {
|
|
[
|
|
// JDA, WS
|
|
'net.dv8tion.jda',
|
|
'com.iwebpp',
|
|
'com.neovisionaries.ws',
|
|
|
|
// Trove
|
|
'gnu.trove',
|
|
|
|
// Jackson
|
|
'com.fasterxml.jackson',
|
|
|
|
// okhttp
|
|
'okhttp3',
|
|
'okio',
|
|
|
|
// DependencyDownload
|
|
'dev.vankka.dependencydownload',
|
|
'dev.vankka.mcdependencydownload',
|
|
'me.lucko.jarrelocator',
|
|
'org.objectweb.asm',
|
|
|
|
// Configurate, geantyref, yaml
|
|
'org.spongepowered.configurate',
|
|
'io.leangen.geantyref',
|
|
'org.yaml.snakeyaml',
|
|
|
|
// Adventure, EnhancedLegacyText, MCDiscordReserializer
|
|
'net.kyori',
|
|
'dev.vankka.enhancedlegacytext',
|
|
'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',
|
|
].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')
|
|
}
|
|
}
|