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

Set UTF-8 encoding for Javadoc and ProcessResources (#5937)

Dieser Commit ist enthalten in:
Jason 2021-06-21 08:27:46 -07:00 committet von GitHub
Ursprung 961b98f9cb
Commit 33a04d97ab
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -14,10 +14,16 @@ subprojects {
} }
} }
tasks.withType<JavaCompile>().configureEach { tasks.withType<JavaCompile> {
options.encoding = "UTF-8" options.encoding = Charsets.UTF_8.name()
options.release.set(16) options.release.set(16)
} }
tasks.withType<Javadoc> {
options.encoding = Charsets.UTF_8.name()
}
tasks.withType<ProcessResources> {
filteringCharset = Charsets.UTF_8.name()
}
configure<PublishingExtension> { configure<PublishingExtension> {
repositories { repositories {