From 9f54472dd6d036cef5f931020a80f44eef2967eb Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Sun, 12 Sep 2021 13:56:08 +0200 Subject: [PATCH] Relocate annotations properly --- Bukkit/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Bukkit/build.gradle.kts b/Bukkit/build.gradle.kts index d1cd8300b..bf12aed24 100644 --- a/Bukkit/build.gradle.kts +++ b/Bukkit/build.gradle.kts @@ -80,6 +80,10 @@ tasks.named("shadowJar") { relocate("com.intellectualsites.http", "com.plotsquared.core.http") relocate("com.intellectualsites.paster", "com.plotsquared.core.paster") relocate("org.incendo.serverlib", "com.plotsquared.bukkit.serverlib") + relocate("org.jetbrains", "com.plotsquared.core.annotations") + relocate("org.intellij.lang", "com.plotsquared.core.intellij.annotations") + relocate("javax.annotation", "com.plotsquared.core.annotation") + relocate("javax.inject", "com.plotsquared.core.annotation.inject") // Get rid of all the libs which are 100% unused. minimize()