52 lines
1.9 KiB
Plaintext
52 lines
1.9 KiB
Plaintext
evaluationDependsOn(":core-common")
|
|
|
|
dependencies {
|
|
compileOnly("net.md-5:bungeecord-api:1.20-R0.1-SNAPSHOT")
|
|
|
|
implementation(project(":core-common")) {
|
|
isTransitive = false
|
|
}
|
|
val adventureVersion = property("adventure_version")
|
|
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bungeecord
|
|
implementation("net.kyori:adventure-platform-bungeecord:${adventureVersion}") {
|
|
exclude(group = "org.jetbrains")
|
|
exclude(group = "com.google.code.gson")
|
|
}
|
|
val adventureSerializerVersion = property("adventure_serializer_version")
|
|
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage
|
|
implementation("net.kyori:adventure-text-minimessage:${adventureSerializerVersion}") {
|
|
exclude(group = "org.jetbrains")
|
|
}
|
|
// https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-gson
|
|
implementation("net.kyori:adventure-text-serializer-gson:${adventureSerializerVersion}") {
|
|
exclude(group = "org.jetbrains")
|
|
exclude(group = "com.google.code.gson")
|
|
}
|
|
// https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-legacy
|
|
implementation("net.kyori:adventure-text-serializer-legacy:${adventureSerializerVersion}") {
|
|
exclude(group = "org.jetbrains")
|
|
}
|
|
|
|
val hikariVersion = property("HikariCP_version")
|
|
implementation("com.zaxxer:HikariCP:${hikariVersion}") {
|
|
exclude(group = "org.slf4j")
|
|
}
|
|
val redissionVersion = property("redission_version")
|
|
implementation("org.redisson:redisson:${redissionVersion}") {
|
|
exclude(group = "io.netty")
|
|
exclude(group = "org.yaml")
|
|
exclude(group = "org.slf4j")
|
|
}
|
|
}
|
|
|
|
tasks {
|
|
processResources {
|
|
filesMatching("bungee.yml") {
|
|
expand(project.properties)
|
|
}
|
|
}
|
|
shadowJar {
|
|
archiveBaseName = "HamsterCore-BungeeCord"
|
|
}
|
|
}
|