From 57f06c3ce26ad48bbe44ccddc3ebf2de7a4f8ee0 Mon Sep 17 00:00:00 2001 From: MiniDay <372403923@qq.com> Date: Mon, 18 Mar 2024 09:58:33 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E4=BC=98=E5=8C=96=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 4 ---- core-bukkit/build.gradle.kts | 2 ++ core-bungee/build.gradle.kts | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) 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)