diff --git a/bukkit/build.gradle b/bukkit/build.gradle index 471db6be..bb311842 100644 --- a/bukkit/build.gradle +++ b/bukkit/build.gradle @@ -3,11 +3,13 @@ import dev.vankka.dependencydownload.task.GenerateDependencyDownloadResourceTask shadowJar { archiveFileName = 'bukkit.jarinjar' - [ - 'net.kyori', - 'me.lucko.commodore' - ].each { - relocate it, 'com.discordsrv.dependencies.' + it + configure { + [ + 'net.kyori', + 'me.lucko.commodore' + ].each { + relocate it, 'com.discordsrv.dependencies.' + it + } } // More relocations in buildscript/relocations.gradle } diff --git a/bungee/build.gradle b/bungee/build.gradle index 7e7caa4c..a5fb61a1 100644 --- a/bungee/build.gradle +++ b/bungee/build.gradle @@ -1,10 +1,12 @@ shadowJar { archiveFileName = 'bungee.jarinjar' - [ - 'net.kyori' - ].each { - relocate it, 'com.discordsrv.dependencies.' + it + configure { + [ + 'net.kyori' + ].each { + relocate it, 'com.discordsrv.dependencies.' + it + } } // More relocations in buildscript/relocations.gradle }