From 40775149f572cecd8855daf1c3764608b7985896 Mon Sep 17 00:00:00 2001 From: Konicai <71294714+Konicai@users.noreply.github.com> Date: Wed, 28 Jun 2023 00:31:03 -0400 Subject: [PATCH] NMS adapter for spigot 1.20 (#3911) --- bootstrap/spigot/build.gradle.kts | 4 +++- gradle/libs.versions.toml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bootstrap/spigot/build.gradle.kts b/bootstrap/spigot/build.gradle.kts index 85a46598c..129064cd4 100644 --- a/bootstrap/spigot/build.gradle.kts +++ b/bootstrap/spigot/build.gradle.kts @@ -4,7 +4,9 @@ dependencies { isTransitive = false } - implementation(libs.adapters.spigot) + implementation(variantOf(libs.adapters.spigot) { + classifier("all") // otherwise the unshaded jar is used without the shaded NMS implementations + }) implementation(libs.commodore) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f5d19df5e..7ec4dcaf6 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -23,7 +23,7 @@ jline = "3.21.0" terminalconsoleappender = "1.2.0" folia = "1.19.4-R0.1-SNAPSHOT" viaversion = "4.0.0" -adapters = "1.8-SNAPSHOT" +adapters = "1.9-SNAPSHOT" commodore = "2.2" bungeecord = "a7c6ede" velocity = "3.0.0"