From 277be8f9a77bdcf042fdea33e2c36883471b0452 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Fri, 27 Oct 2023 16:58:43 -0400 Subject: [PATCH] Bump SnakeYAML to the last 1.x version Fixes #1047. We can't go any higher since that's an API-breaking change. In any event, this will likely disappear in 5.0.0 anyway, because Configurate 4.x now shades SnakeYAML internally. --- api/build.gradle.kts | 2 ++ gradle/libs.versions.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/api/build.gradle.kts b/api/build.gradle.kts index 2a1de7af8..d3e55559f 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -33,6 +33,8 @@ dependencies { api("net.kyori:adventure-text-logger-slf4j") api("net.kyori:adventure-text-serializer-ansi") + api(libs.snakeyaml) + api(libs.slf4j) api(libs.guice) api(libs.checker.qual) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8b1f9a817..4fdfa07a0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -48,6 +48,7 @@ netty-handler = { module = "io.netty:netty-handler", version.ref = "netty" } netty-transport-native-epoll = { module = "io.netty:netty-transport-native-epoll", version.ref = "netty" } nightconfig = "com.electronwill.night-config:toml:3.6.6" slf4j = "org.slf4j:slf4j-api:2.0.7" +snakeyaml = "org.yaml:snakeyaml:1.33" spotbugs-annotations = "com.github.spotbugs:spotbugs-annotations:4.7.3" terminalconsoleappender = "net.minecrell:terminalconsoleappender:1.3.0"