Files
hamster-core/core-common/build.gradle.kts
2023-10-12 14:51:42 +08:00

23 lines
674 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/net.kyori/adventure-platform-api
api("net.kyori:adventure-platform-api:4+") {
exclude(group = "org.jetbrains")
}
// https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-gson
api("net.kyori:adventure-text-serializer-gson:4.13+") {
exclude(group = "org.jetbrains")
exclude(group = "com.google.code.gson")
}
}
tasks {
withType<Jar> {
archiveBaseName = "HamsterCore-Common"
}
}