Chat/velocity/build.gradle.kts

34 lines
969 B
Plaintext
Raw Normal View History

2021-12-11 17:59:45 +00:00
plugins {
`maven-publish`
2021-12-11 20:41:19 +00:00
id("com.github.johnrengelman.shadow")
2021-12-11 17:59:45 +00:00
}
dependencies {
implementation(project(":api")) // API
compileOnly("com.velocitypowered:velocity-api:3.0.0") // Velocity
annotationProcessor("com.velocitypowered:velocity-api:3.0.0")
2021-12-11 20:41:19 +00:00
implementation("mysql:mysql-connector-java:8.0.27") // mysql
implementation("org.spongepowered", "configurate-yaml", "4.1.2")
implementation("net.kyori", "adventure-text-minimessage", "4.1.0-SNAPSHOT") {
exclude("net.kyori")
exclude("net.kyori.examination")
}
2022-01-05 14:25:17 +00:00
compileOnly("com.gitlab.ruany:LiteBansAPI:0.3.5")
2021-12-11 20:41:19 +00:00
}
tasks {
shadowJar {
archiveFileName.set("${project.name}-${project.version}.jar")
// minimize()
listOf(
"net.kyori.adventure.text.minimessage",
"org.spongepowered.configurate"
).forEach { relocate(it, "${rootProject.group}.lib.$it") }
}
build {
dependsOn(shadowJar)
}
2021-12-11 17:59:45 +00:00
}