mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-16 12:32:05 +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/"
|
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 New Issue
Block a user