From f2350fe0d1efe53c326d94481d9d94099dec3f06 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Tue, 23 Apr 2024 14:43:32 -0700 Subject: [PATCH] Set mercury sourceCompat --- build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index ecfc0abe2..b2230193a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,6 +27,10 @@ allprojects { val paperMavenPublicUrl = "https://repo.papermc.io/repository/maven-public/" +tasks.remapSpigotSources { + sourceCompatibility = 21 // TODO change default in paperweight +} + subprojects { tasks.withType { options.encoding = Charsets.UTF_8.name()