aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2024-04-23 14:43:32 -0700
committerJason Penilla <[email protected]>2024-04-23 14:43:32 -0700
commitf2350fe0d1efe53c326d94481d9d94099dec3f06 (patch)
tree7fc5ad2b0520eabbae1d24095838b279118b7030 /build.gradle.kts
parentd07c487d4d5589b8408483b840050797689ef9ad (diff)
downloadPaper-f2350fe0d1efe53c326d94481d9d94099dec3f06.tar.gz
Paper-f2350fe0d1efe53c326d94481d9d94099dec3f06.zip
Set mercury sourceCompat
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index ecfc0abe25..b2230193a4 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<JavaCompile> {
options.encoding = Charsets.UTF_8.name()