oblak/examples/example-velocity/build.gradle.kts

22 lines
535 B
Kotlin

plugins {
id ("com.github.johnrengelman.shadow")
}
tasks {
shadowJar {
dependencies {
exclude(dependency("com.velocitypowered:velocity-api"))
}
}
build {
dependsOn(shadowJar)
}
}
dependencies {
api(project(":cloud-velocity"))
api(project(":cloud-minecraft-extras"))
api(project(":cloud-annotations"))
compileOnly("com.velocitypowered", "velocity-api", Versions.velocityApi)
annotationProcessor("com.velocitypowered", "velocity-api", Versions.velocityApi)
}