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`
This commit is contained in:
jmp 2020-12-31 21:26:53 -08:00 committed by Alexander Söderberg
parent d812ea633a
commit 2c188eb130
48 changed files with 519 additions and 499 deletions

View file

@ -0,0 +1,25 @@
plugins {
id ("com.github.johnrengelman.shadow")
}
tasks {
shadowJar {
dependencies {
exclude(dependency("net.md-5:bungeecord-api:1.8-SNAPSHOT"))
}
}
build {
dependsOn(shadowJar)
}
}
dependencies {
/* Cloud */
implementation(project(":cloud-bungee"))
implementation(project(":cloud-annotations"))
implementation(project(":cloud-minecraft-extras"))
/* Extras */
implementation("net.kyori", "adventure-platform-bungeecord", vers["adventure-platform"])
/* Bungee*/
compileOnly("net.md-5", "bungeecord-api", "1.8-SNAPSHOT")
}