From b1132efb5aa7303e5b6ec388bb1a878e5c6e5775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=98=BF=E9=B9=B0?= Date: Fri, 19 Dec 2025 17:19:48 +0800 Subject: [PATCH] chore(version): 3.9.15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新插件时需删除 cache/taboolib 目录 - 添加 slf4j-jdk14 作为运行时依赖项 - 更新 gradle.properties 中的版本号 --- gradle.properties | 2 +- .../kotlin/trplugins/menu/module/internal/data/Metadata.kt | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 50c841e5..5b91b516 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ group=me.arasple.mc.trmenu -version=3.9.14 \ No newline at end of file +version=3.9.15 \ No newline at end of file diff --git a/plugin/src/main/kotlin/trplugins/menu/module/internal/data/Metadata.kt b/plugin/src/main/kotlin/trplugins/menu/module/internal/data/Metadata.kt index 40960c25..d32237dd 100644 --- a/plugin/src/main/kotlin/trplugins/menu/module/internal/data/Metadata.kt +++ b/plugin/src/main/kotlin/trplugins/menu/module/internal/data/Metadata.kt @@ -5,6 +5,7 @@ import org.bukkit.command.CommandSender import org.bukkit.entity.Player import org.bukkit.metadata.FixedMetadataValue import taboolib.common.LifeCycle +import taboolib.common.env.RuntimeDependency import taboolib.common.platform.Awake import taboolib.common.platform.ProxyPlayer import taboolib.common.platform.Schedule @@ -34,6 +35,12 @@ import java.util.concurrent.ConcurrentHashMap * -> only lost when the server is shut down * -> storable, (support MongoDB) */ +@RuntimeDependency( + value = "!org.slf4j:slf4j-jdk14:2.0.8", + test = "!org.slf4j_2_0_8.jul.JULServiceProvider", + relocate = ["!org.slf4j", "!org.slf4j_2_0_8"], + transitive = false +) object Metadata { internal val meta = mutableMapOf()