Specify UTF-8 for Javadocs too

This commit is contained in:
jmp 2020-10-31 23:28:18 -07:00 committed by Alexander Söderberg
parent d9735212a8
commit 6d0301d9dd

View file

@ -86,7 +86,6 @@ subprojects {
"CatchAndPrintStackTrace"
)
}
options.encoding(StandardCharsets.UTF_8.name())
}
repositories {
@ -147,8 +146,10 @@ subprojects {
sourceCompatibility = '1.8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
[JavaCompile, Javadoc].forEach { taskType ->
tasks.withType(taskType) {
options.encoding(StandardCharsets.UTF_8.name())
}
}
publishing {