Chat/velocity/build.gradle.kts

45 lines
1.4 KiB
Plaintext
Raw Normal View History

2021-12-11 17:59:45 +00:00
plugins {
`maven-publish`
2026-07-27 07:14:13 +00:00
id("com.gradleup.shadow")
2021-12-11 17:59:45 +00:00
}
dependencies {
implementation(project(":api")) // API
compileOnly("org.projectlombok:lombok:1.18.46")
annotationProcessor("org.projectlombok:lombok:1.18.46")
compileOnly("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.5.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")
compileOnly("net.luckperms:api:5.5") // Luckperms
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
2021-12-11 20:41:19 +00:00
}
tasks {
test {
useJUnitPlatform()
}
2021-12-11 20:41:19 +00:00
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)
}
}