mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-13 21:24:00 +01:00
Set mercury sourceCompat
This commit is contained in:
parent
178efa2903
commit
faac14cc4c
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue