Set mercury sourceCompat

This commit is contained in:
Jason Penilla 2024-04-23 14:43:32 -07:00
parent d07c487d4d
commit f2350fe0d1
No known key found for this signature in database
GPG Key ID: 0E75A301420E48F8
1 changed files with 4 additions and 0 deletions

View File

@ -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()