oblak/examples/example-velocity/build.gradle.kts
jmp 2c188eb130 Convert build scripts to Kotlin
Also added some new tasks to only build/install to maven local certain platforms
`buildMinecraft`, `installMinecraft`, `buildDiscord`, `installDiscord`, `buildIRC`, `installIRC`
2021-01-16 08:54:07 +01:00

22 lines
497 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:1.1.0")
annotationProcessor("com.velocitypowered:velocity-api:1.1.0")
}