Skip to content

Commit

Permalink
Specify UTF-8 for javadoc as well
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Nov 2, 2021
1 parent 3ba0890 commit 9928bc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/CommonJavaConfig.kt
Expand Up @@ -51,6 +51,7 @@ fun Project.applyCommonJavaConfiguration(sourcesJar: Boolean, banSlf4j: Boolean

// Java 8 turns on doclint which we fail
tasks.withType<Javadoc>().configureEach {
options.encoding = "UTF-8"
(options as StandardJavadocDocletOptions).apply {
addStringOption("Xdoclint:none", "-quiet")
tags(
Expand Down

0 comments on commit 9928bc8

Please sign in to comment.