Chat/velocity/build.gradle.kts

35 lines
1.1 KiB
Plaintext
Raw Permalink 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
2022-02-17 08:32:02 +00:00
compileOnly("com.velocitypowered:velocity-api:3.0.1") // Velocity
annotationProcessor("com.velocitypowered:velocity-api:3.0.1")
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")
2022-02-20 18:07:08 +00:00
compileOnly("com.alttd.proxydiscordlink:ProxyDiscordLink:1.0.0-BETA-SNAPSHOT")
2022-02-23 15:13:53 +00:00
implementation("net.kyori", "adventure-text-minimessage", "4.10.0-20220122.015731-43") { // Minimessage
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.substringAfterLast(".")}") }
2021-12-11 20:41:19 +00:00
}
build {
dependsOn(shadowJar)
}
2021-12-11 17:59:45 +00:00
}