Files
hamster-core/core-bungee/build.gradle.kts
2024-03-24 13:36:27 +08:00

45 lines
1.5 KiB
Plaintext

@file:Suppress("VulnerableLibrariesLocal")
evaluationDependsOn(":core-common")
dependencies {
api(project(":core-common")) { isTransitive = false }
compileOnly("net.md-5:bungeecord-api:1.20-R0.1")
api("net.kyori:adventure-platform-bungeecord:4.3.2") {
exclude(group = "org.jetbrains")
exclude(group = "com.google.code.gson")
}
api("net.kyori:adventure-text-minimessage:4.15.0") {
exclude(module = "adventure-api")
exclude(group = "org.jetbrains")
}
// https://mvnrepository.com/artifact/redis.clients/jedis
api("redis.clients:jedis:5.1.2") {
exclude(group = "com.google.code.gson")
exclude(group = "org.slf4j")
}
// https://mvnrepository.com/artifact/org.quartz-scheduler/quartz
api("org.quartz-scheduler:quartz:2.3.2") { isTransitive = false }
// https://mvnrepository.com/artifact/com.sun.mail/jakarta.mail
api("com.sun.mail:jakarta.mail:2.0.1")
implementation("com.zaxxer:HikariCP:4.0.3") { exclude(group = "org.slf4j") }
// https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib-jdk8
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.23") { exclude(group = "org.jetbrains") }
}
tasks {
processResources {
filesMatching("bungee.yml") {
expand(rootProject.properties)
}
}
withType<Jar> {
archiveBaseName = "HamsterCore-BungeeCord"
}
shadowJar {
destinationDirectory = rootProject.layout.buildDirectory
}
}