build: 优化依赖

This commit is contained in:
2023-10-12 15:02:48 +08:00
parent bc79b1ed48
commit 19bac34bfb
5 changed files with 20 additions and 53 deletions

View File

@@ -1,17 +1,12 @@
@file:Suppress("VulnerableLibrariesLocal")
dependencies {
// https://mvnrepository.com/artifact/com.google.code.gson/gson
compileOnly("cn.hamster3.mc.plugin:core-common:+")
compileOnly("io.netty:netty-buffer:4+")
compileOnly("com.google.code.gson:gson:2.8.0")
// https://mvnrepository.com/artifact/io.netty/netty-buffer
compileOnly("io.netty:netty-buffer:4.1.96.Final")
val hamsterCoreVersion = property("hamster_core_version")
compileOnly("cn.hamster3.mc.plugin:core-common:${hamsterCoreVersion}")
val redissionVersion = property("redission_version")
implementation("org.redisson:redisson:${redissionVersion}") {
implementation("org.redisson:redisson:+") {
isTransitive = false
exclude(group = "io.netty")
exclude(group = "org.yaml")