Chat/velocity/build.gradle.kts

34 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2021-12-11 17:59:45 +00:00
plugins {
`maven-publish`
2024-07-21 16:57:58 +00:00
id("io.github.goooler.shadow")
2021-12-11 17:59:45 +00:00
}
dependencies {
implementation(project(":api")) // API
compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
implementation("mysql:mysql-connector-java:8.0.33") // mysql
implementation("org.spongepowered", "configurate-yaml", "4.2.0")
compileOnly("net.kyori:adventure-text-minimessage:4.23.0")
2022-01-05 14:25:17 +00:00
compileOnly("com.gitlab.ruany:LiteBansAPI:0.3.5")
compileOnly("com.alttd.proxydiscordlink:ProxyDiscordLink:1.0.1-SNAPSHOT")
2021-12-11 20:41:19 +00:00
}
tasks {
shadowJar {
2022-09-02 08:37:25 +00:00
archiveFileName.set("${rootProject.name}-${project.name}-${project.version}.jar")
2021-12-11 20:41:19 +00:00
// minimize()
listOf(
// "net.kyori.adventure.text.minimessage",
2021-12-11 20:41:19 +00:00
"org.spongepowered.configurate"
).forEach { relocate(it, "${rootProject.group}.lib.${it.substringAfterLast(".")}") }
2021-12-11 20:41:19 +00:00
}
build {
2022-09-27 12:27:25 +00:00
// setBuildDir("${rootProject.buildDir}")
2021-12-11 20:41:19 +00:00
dependsOn(shadowJar)
}
}