Update Adventure

This commit is contained in:
Jason Penilla 2021-09-14 10:49:42 -07:00 committed by Jason
parent cf05494fae
commit f43386d29b
2 changed files with 9 additions and 7 deletions

View file

@ -16,8 +16,8 @@ object Versions {
const val commodore = "1.10" const val commodore = "1.10"
const val bungeecord = "1.8-SNAPSHOT" const val bungeecord = "1.8-SNAPSHOT"
const val cloudburst = "1.0.0-SNAPSHOT" const val cloudburst = "1.0.0-SNAPSHOT"
const val adventureApi = "4.8.1" const val adventureApi = "4.9.1"
const val adventurePlatform = "4.0.0-SNAPSHOT" const val adventurePlatform = "4.0.0"
const val paperApi = "1.16.5-R0.1-SNAPSHOT" const val paperApi = "1.16.5-R0.1-SNAPSHOT"
const val velocityApi = "1.1.0" const val velocityApi = "1.1.0"
const val spongeApi7 = "7.3.0" const val spongeApi7 = "7.3.0"

View file

@ -3,7 +3,7 @@ import xyz.jpenilla.runpaper.task.RunServerTask
plugins { plugins {
id("cloud.example-conventions") id("cloud.example-conventions")
id("com.github.johnrengelman.shadow") id("com.github.johnrengelman.shadow")
id("xyz.jpenilla.run-paper") version "1.0.3" id("xyz.jpenilla.run-paper") version "1.0.4"
} }
dependencies { dependencies {
@ -12,7 +12,9 @@ dependencies {
implementation(project(":cloud-annotations")) implementation(project(":cloud-annotations"))
implementation(project(":cloud-minecraft-extras")) implementation(project(":cloud-minecraft-extras"))
/* Extras */ /* Extras */
implementation("me.lucko", "commodore", Versions.commodore) implementation("me.lucko", "commodore", Versions.commodore) {
isTransitive = false
}
implementation("net.kyori", "adventure-platform-bukkit", Versions.adventurePlatform) implementation("net.kyori", "adventure-platform-bukkit", Versions.adventurePlatform)
/* Bukkit */ /* Bukkit */
compileOnly("org.bukkit", "bukkit", Versions.bukkit) compileOnly("org.bukkit", "bukkit", Versions.bukkit)
@ -20,9 +22,9 @@ dependencies {
tasks { tasks {
shadowJar { shadowJar {
dependencies { relocate("net.kyori", "cloud.commandframework.example.kyori")
exclude(dependency("org.bukkit:bukkit:1.8.8-R0.1-SNAPSHOT")) relocate("me.lucko", "cloud.commandframework.example.lucko")
} relocate("io.leangen.geantyref", "cloud.commandframework.example.geantyref")
} }
build { build {
dependsOn(shadowJar) dependsOn(shadowJar)