Files
hamster-core/core-common/build.gradle.kts
2024-03-18 17:13:33 +08:00

34 lines
1.2 KiB
Plaintext

@file:Suppress("VulnerableLibrariesLocal")
dependencies {
compileOnly("com.google.code.gson:gson:2.8.0")
// https://mvnrepository.com/artifact/org.yaml/snakeyaml
compileOnly("org.yaml:snakeyaml:1.30")
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
compileOnly("org.slf4j:slf4j-api:2.0.12")
compileOnlyApi("net.kyori:adventure-platform-api:4.3.2") { exclude(group = "org.jetbrains") }
compileOnlyApi("net.kyori:adventure-text-serializer-gson:4.13.1") {
exclude(group = "org.jetbrains")
exclude(group = "com.google.code.gson")
}
// https://mvnrepository.com/artifact/redis.clients/jedis
compileOnlyApi("redis.clients:jedis:5.1.2") {
exclude(group = "com.google.code.gson")
exclude(group = "org.slf4j")
}
compileOnlyApi("org.quartz-scheduler:quartz:2.3.2") { isTransitive = false }
// https://mvnrepository.com/artifact/com.sun.mail/jakarta.mail
compileOnlyApi("com.sun.mail:jakarta.mail:2.0.1")
// https://mvnrepository.com/artifact/com.zaxxer/HikariCP
compileOnly("com.zaxxer:HikariCP:4.0.3") { isTransitive = false }
}
tasks {
withType<Jar> {
archiveBaseName = "HamsterCore-Common"
}
}