✨ 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:
parent
d812ea633a
commit
2c188eb130
48 changed files with 519 additions and 499 deletions
26
examples/example-bukkit/build.gradle.kts
Normal file
26
examples/example-bukkit/build.gradle.kts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
plugins {
|
||||
id("com.github.johnrengelman.shadow")
|
||||
}
|
||||
|
||||
tasks {
|
||||
shadowJar {
|
||||
dependencies {
|
||||
exclude(dependency("org.bukkit:bukkit:1.8.8-R0.1-SNAPSHOT"))
|
||||
}
|
||||
}
|
||||
build {
|
||||
dependsOn(shadowJar)
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
/* Cloud */
|
||||
implementation(project(":cloud-paper"))
|
||||
implementation(project(":cloud-annotations"))
|
||||
implementation(project(":cloud-minecraft-extras"))
|
||||
/* Extras */
|
||||
implementation("me.lucko", "commodore", vers["commodore"])
|
||||
implementation("net.kyori", "adventure-platform-bukkit", vers["adventure-platform"])
|
||||
/* Bukkit */
|
||||
compileOnly("org.bukkit", "bukkit", "1.8.8-R0.1-SNAPSHOT")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue