Files
hamster-ball/ball-common/build.gradle.kts
2023-08-21 00:00:35 +08:00

27 lines
791 B
Plaintext

@file:Suppress("VulnerableLibrariesLocal")
dependencies {
// https://mvnrepository.com/artifact/com.google.code.gson/gson
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}") {
isTransitive = false
exclude(group = "io.netty")
exclude(group = "org.yaml")
exclude(group = "org.slf4j")
}
}
tasks {
withType<Jar>() {
archiveBaseName = "HamsterBall-Common"
}
}