mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Set mercury sourceCompat
This commit is contained in:
parent
d07c487d4d
commit
f2350fe0d1
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ allprojects {
|
||||||
|
|
||||||
val paperMavenPublicUrl = "https://repo.papermc.io/repository/maven-public/"
|
val paperMavenPublicUrl = "https://repo.papermc.io/repository/maven-public/"
|
||||||
|
|
||||||
|
tasks.remapSpigotSources {
|
||||||
|
sourceCompatibility = 21 // TODO change default in paperweight
|
||||||
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
tasks.withType<JavaCompile> {
|
tasks.withType<JavaCompile> {
|
||||||
options.encoding = Charsets.UTF_8.name()
|
options.encoding = Charsets.UTF_8.name()
|
||||||
|
|
Loading…
Reference in a new issue