diff --git a/build.gradle.kts b/build.gradle.kts index 0d9c0af..82c3f85 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -42,11 +42,11 @@ repositories { } dependencies { - compileOnly("com.github.ben-manes.caffeine:caffeine:2.9.3") + taboo("com.github.ben-manes.caffeine:caffeine:2.9.3") taboo("com.squareup.retrofit2:retrofit:2.9.0") taboo("com.squareup.retrofit2:converter-gson:2.9.0") - compileOnly("com.google.zxing:core:3.5.2") - compileOnly("com.google.code.gson:gson:2.10.1") + taboo("com.google.zxing:core:3.5.2") + taboo("com.google.code.gson:gson:2.10.1") compileOnly("ink.ptms:nms-all:1.0.0") compileOnly("ink.ptms.core:v12004:12004:mapped") compileOnly("ink.ptms.core:v12004:v12004:universal") diff --git a/gradle.properties b/gradle.properties index 36fe556..77b3cf0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group=online.bingzi.bilibili.video -version=1.5.6 +version=1.5.7 kotlin.experimental.tryK2=true kapt.use.k2=true kotlin.incremental=true diff --git a/src/main/kotlin/online/bingzi/bilibili/video/BilibiliVideo.kt b/src/main/kotlin/online/bingzi/bilibili/video/BilibiliVideo.kt index c2caad8..8252c26 100644 --- a/src/main/kotlin/online/bingzi/bilibili/video/BilibiliVideo.kt +++ b/src/main/kotlin/online/bingzi/bilibili/video/BilibiliVideo.kt @@ -1,8 +1,6 @@ package online.bingzi.bilibili.video import online.bingzi.bilibili.video.internal.helper.infoMessageAsLang -import taboolib.common.env.RuntimeDependencies -import taboolib.common.env.RuntimeDependency import taboolib.common.platform.Platform import taboolib.common.platform.Plugin import taboolib.module.metrics.Metrics @@ -14,14 +12,6 @@ import taboolib.platform.util.bukkitPlugin * * @constructor Create empty Bilibili video */ -@RuntimeDependencies( - // 二维码生成组件 - RuntimeDependency("!com.google.zxing:core:3.5.2"), - // GSON序列化组件 - RuntimeDependency("!com.google.code.gson:gson:2.10.1"), - // 本地缓存组件 - RuntimeDependency("!com.github.ben-manes.caffeine:caffeine:2.9.3"), -) object BilibiliVideo : Plugin() { /** * 初始化