AuthMeVelocity/velocity/build.gradle.kts
2024-12-19 17:12:04 +03:00

47 lines
1.1 KiB
Plaintext

plugins {
alias(libs.plugins.shadow)
alias(libs.plugins.runvelocity)
id("authmevelocity.spotless")
}
dependencies {
compileOnly(libs.velocity.api)
annotationProcessor(libs.velocity.api)
compileOnly(libs.miniplaceholders)
compileOnly(libs.fastlogin.velocity)
compileOnly(libs.luckperms)
implementation(projects.authmevelocityCommon)
implementation(projects.authmevelocityApiVelocity)
implementation(libs.bstats.velocity)
testImplementation(platform("org.junit:junit-bom:5.11.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation(libs.assertj)
}
tasks {
shadowJar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveBaseName.set("AuthMeVelocity-Velocity")
archiveClassifier.set("")
relocate("org.bstats", "io.github._4drian3d.authmevelocity.libs.bstats")
}
build {
dependsOn(shadowJar)
}
runVelocity {
velocityVersion(libs.versions.velocity.get())
}
test {
useJUnitPlatform()
testLogging {
events("passed", "failed")
}
}
}