From c1431c097115aff41a9137372ce047776b7a8912 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 15 May 2022 12:31:40 +0200 Subject: [PATCH] build: Update to Paper 1.18.2 (#3622) build: Align MM and Adventure version --- .../com/plotsquared/core/configuration/caption/Caption.java | 2 +- gradle/libs.versions.toml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/configuration/caption/Caption.java b/Core/src/main/java/com/plotsquared/core/configuration/caption/Caption.java index d6e20a2b9..85e3faf16 100644 --- a/Core/src/main/java/com/plotsquared/core/configuration/caption/Caption.java +++ b/Core/src/main/java/com/plotsquared/core/configuration/caption/Caption.java @@ -46,7 +46,7 @@ public interface Caption { * Get the Adventure {@link ComponentLike} for this caption * * @param localeHolder Locale holder - * @return ComponentLike + * @return {@link ComponentLike} * @since TODO */ @NonNull Component toComponent(@NonNull LocaleHolder localeHolder); diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 173533a02..d955850b0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,7 @@ log4j-api = "2.17.1" # Version set by Minecraft guava = "31.0.1-jre" # Version set by Minecraft # Platform expectations -paper = "1.18.1-R0.1-SNAPSHOT" +paper = "1.18.2-R0.1-SNAPSHOT" checker-qual = "3.22.0" guice = "5.1.0" spotbugs = "4.7.0" @@ -13,7 +13,6 @@ snakeyaml = "1.30" # Version set by Bukkit # Adventure & MiniMessage adventure-api = "4.10.1" -adventure-text-minimessage = "4.10.1" adventure-platform-bukkit = "4.1.0" # Plugins @@ -60,7 +59,7 @@ spotbugs = { group = "com.github.spotbugs", name = "spotbugs-annotations", versi # Adventure & MiniMessage adventure = { group = "net.kyori", name = "adventure-api", version.ref = "adventure-api" } -minimessage = { group = "net.kyori", name = "adventure-text-minimessage", version.ref = "adventure-text-minimessage" } +minimessage = { group = "net.kyori", name = "adventure-text-minimessage", version.ref = "adventure-api" } adventurePlatformBukkit = { group = "net.kyori", name = "adventure-platform-bukkit", version.ref = "adventure-platform-bukkit" } # Plugins