diff --git a/build.gradle.kts b/build.gradle.kts index 07fd9f1..b90cb9a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -55,10 +55,6 @@ subprojects { expand(map) } } - shadowJar { - relocate("de.tr7zw.changeme.nbtapi", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi") - relocate("de.tr7zw.annotations", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi.annotations") - } build { dependsOn(shadowJar) } diff --git a/core-bukkit/build.gradle.kts b/core-bukkit/build.gradle.kts index 7ab2264..b83f581 100644 --- a/core-bukkit/build.gradle.kts +++ b/core-bukkit/build.gradle.kts @@ -54,6 +54,8 @@ tasks { shadowJar { from(shade.map { if (it.isDirectory) it else zipTree(it) }) destinationDirectory = rootProject.layout.buildDirectory + relocate("de.tr7zw.changeme.nbtapi", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi") + relocate("de.tr7zw.annotations", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi.annotations") } val shadowJava8 = register("shadowJava8") { dependsOn(":core-common:build") diff --git a/core-bungee/build.gradle.kts b/core-bungee/build.gradle.kts index d8a9b39..4884ed7 100644 --- a/core-bungee/build.gradle.kts +++ b/core-bungee/build.gradle.kts @@ -60,8 +60,6 @@ tasks { from(jar.get().outputs) from(shadeJava8.map { if (it.isDirectory) it else zipTree(it) }) destinationDirectory = rootProject.layout.buildDirectory - relocate("de.tr7zw.changeme.nbtapi", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi") - relocate("de.tr7zw.annotations", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi.annotations") } build { dependsOn(shadowJava8)