Fix dependency generation not picking up relocations sometimes

This commit is contained in:
Vankka 2022-06-09 20:03:17 +03:00
parent 33738959f7
commit 2b5c8b9d2f
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0
2 changed files with 13 additions and 9 deletions

View File

@ -3,12 +3,14 @@ import dev.vankka.dependencydownload.task.GenerateDependencyDownloadResourceTask
shadowJar { shadowJar {
archiveFileName = 'bukkit.jarinjar' archiveFileName = 'bukkit.jarinjar'
configure {
[ [
'net.kyori', 'net.kyori',
'me.lucko.commodore' 'me.lucko.commodore'
].each { ].each {
relocate it, 'com.discordsrv.dependencies.' + it relocate it, 'com.discordsrv.dependencies.' + it
} }
}
// More relocations in buildscript/relocations.gradle // More relocations in buildscript/relocations.gradle
} }

View File

@ -1,11 +1,13 @@
shadowJar { shadowJar {
archiveFileName = 'bungee.jarinjar' archiveFileName = 'bungee.jarinjar'
configure {
[ [
'net.kyori' 'net.kyori'
].each { ].each {
relocate it, 'com.discordsrv.dependencies.' + it relocate it, 'com.discordsrv.dependencies.' + it
} }
}
// More relocations in buildscript/relocations.gradle // More relocations in buildscript/relocations.gradle
} }