3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-14 20:10:05 +01:00

Fix Java toolchain configuration to work on arm macOS

Dieser Commit ist enthalten in:
Kyle Wood 2021-08-01 02:55:02 -05:00
Ursprung 81a7559b41
Commit eaadb4a68f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 86AF5613ACA30CC5

Datei anzeigen

@ -4,15 +4,19 @@ plugins {
id("io.papermc.paperweight.core") version "1.1.9"
}
subprojects {
allprojects {
apply(plugin = "java")
apply(plugin = "maven-publish")
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(16))
}
}
}
subprojects {
apply(plugin = "java")
apply(plugin = "maven-publish")
tasks.withType<JavaCompile> {
options.encoding = Charsets.UTF_8.name()