From d932d2eae64b0eca3547565f1c77aad61f4d1ad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Tue, 17 Jan 2023 09:12:04 +0100 Subject: [PATCH] feat: cloud commands --- Bukkit/build.gradle.kts | 4 ++++ Core/build.gradle.kts | 6 +++++- gradle/libs.versions.toml | 8 ++++++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Bukkit/build.gradle.kts b/Bukkit/build.gradle.kts index 0140a4612..742075b5a 100644 --- a/Bukkit/build.gradle.kts +++ b/Bukkit/build.gradle.kts @@ -53,6 +53,10 @@ dependencies { // Adventure implementation("net.kyori:adventure-platform-bukkit") + + // Cloud + implementation(libs.cloudPaper) + implementation(libs.cloudMinecraftExtras) } tasks.processResources { diff --git a/Core/build.gradle.kts b/Core/build.gradle.kts index 447b6370a..1acb76c21 100644 --- a/Core/build.gradle.kts +++ b/Core/build.gradle.kts @@ -15,6 +15,11 @@ dependencies { api("net.kyori:adventure-api") api("net.kyori:adventure-text-minimessage") + // Cloud + api(libs.cloudServices) + api(libs.cloudCore) + api(libs.cloudAnnotations) + // Guice api(libs.guice) { exclude(group = "com.google.guava") @@ -40,7 +45,6 @@ dependencies { // Other libraries api(libs.prtree) api(libs.aopalliance) - api(libs.cloudServices) api(libs.arkitektonika) api("com.intellectualsites.paster:Paster") api("com.intellectualsites.informative-annotations:informative-annotations") diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9932d3b61..64559018f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -13,9 +13,9 @@ mvdwapi = "3.1.1" # Third party prtree = "2.0.0" aopalliance = "1.0" -cloud-services = "1.8.0" arkitektonika = "2.1.1" squirrelid = "0.3.1" +cloud = "1.8.0" # Gradle plugins shadow = "7.1.2" @@ -39,10 +39,14 @@ essentialsx = { group = "net.essentialsx", name = "EssentialsX", version.ref = " # Third party prtree = { group = "com.intellectualsites.prtree", name = "PRTree", version.ref = "prtree" } aopalliance = { group = "aopalliance", name = "aopalliance", version.ref = "aopalliance" } -cloudServices = { group = "cloud.commandframework", name = "cloud-services", version.ref = "cloud-services" } mvdwapi = { group = "com.intellectualsites.mvdwplaceholderapi", name = "MVdWPlaceholderAPI", version.ref = "mvdwapi" } squirrelid = { group = "org.enginehub", name = "squirrelid", version.ref = "squirrelid" } arkitektonika = { group = "com.intellectualsites.arkitektonika", name = "Arkitektonika-Client", version.ref = "arkitektonika" } +cloudServices = { group = "cloud.commandframework", name = "cloud-services", version.ref = "cloud" } +cloudCore = { group = "cloud.commandframework", name = "cloud-core", version.ref = "cloud" } +cloudAnnotations = { group = "cloud.commandframework", name = "cloud-annotations", version.ref = "cloud" } +cloudPaper = { group = "cloud.commandframework", name = "cloud-paper", version.ref = "cloud" } +cloudMinecraftExtras = { group = "cloud.commandframework", name = "cloud-minecraft-extras", version.ref = "cloud" } [plugins] shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }