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