Add example-bukkit build file

This commit is contained in:
Alexander Söderberg 2020-10-06 20:52:51 +02:00
parent 0caaccb7de
commit 8e52bf705c
No known key found for this signature in database
GPG key ID: FACEA5B0F4C1BF80

View file

@ -0,0 +1,23 @@
apply plugin: "com.github.johnrengelman.shadow"
def adventureVersion = "4.0.0-SNAPSHOT"
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:1.9"
implementation "net.kyori:adventure-platform-bukkit:$adventureVersion"
/* Bukkit */
compileOnly "org.bukkit:bukkit:1.8.8-R0.1-SNAPSHOT"
}