Skip to content

Commit

Permalink
update: 放弃动态依赖下载
Browse files Browse the repository at this point in the history
  • Loading branch information
BingZi-233 committed Feb 10, 2024
1 parent 68ce980 commit 611cca9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Check warning on line 46 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / qodana

Vulnerable declared dependency

Provides transitive vulnerable dependency maven:com.squareup.okio:okio:1.17.2 * [CVE-2023-3635](https://devhub.checkmarx.com/cve-details/CVE-2023-3635?utm_source=jetbrains&utm_medium=referral) 7.5 Incorrect Conversion between Numeric Types vulnerability with High severity found Results powered by [Checkmarx](https://checkmarx.com)(c)

Check notice on line 46 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / qodana

Vulnerable declared dependency

Provides transitive vulnerable dependency maven:com.squareup.okhttp3:okhttp:3.14.9 * [CVE-2023-0833](https://devhub.checkmarx.com/cve-details/CVE-2023-0833?utm_source=jetbrains&utm_medium=referral) 5.5 Generation of Error Message Containing Sensitive Information vulnerability with Medium severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
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")
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 0 additions & 10 deletions src/main/kotlin/online/bingzi/bilibili/video/BilibiliVideo.kt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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() {
/**
* 初始化
Expand Down

0 comments on commit 611cca9

Please sign in to comment.