mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 02:25:28 +01:00
Set mercury sourceCompat
This commit is contained in:
parent
d07c487d4d
commit
f2350fe0d1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user