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
|
2024-07-19 19:09:26 +00:00
|
|
|
compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
|
|
|
|
|
annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
|
2025-06-20 21:26:54 +00:00
|
|
|
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")
|
2025-03-21 19:34:45 +00:00
|
|
|
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(
|
2022-09-19 16:27:19 +00:00
|
|
|
// "net.kyori.adventure.text.minimessage",
|
2021-12-11 20:41:19 +00:00
|
|
|
"org.spongepowered.configurate"
|
2022-01-27 20:05:50 +00:00
|
|
|
).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)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-21 19:34:45 +00:00
|
|
|
}
|