✨ Specify UTF-8 for Javadocs too
This commit is contained in:
parent
d9735212a8
commit
6d0301d9dd
1 changed files with 4 additions and 3 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue