We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5d436f commit 97838acCopy full SHA for 97838ac
1 file changed
buildSrc/src/main/kotlin/ai.java-conventions.gradle.kts
@@ -85,6 +85,20 @@ tasks {
85
duplicatesStrategy = DuplicatesStrategy.FAIL
86
}
87
88
+ named<Javadoc>("javadoc") {
89
+ with(options as StandardJavadocDocletOptions) {
90
+ source = "8"
91
+ encoding = "UTF-8"
92
+ docEncoding = "UTF-8"
93
+ charSet = "UTF-8"
94
+ breakIterator(true)
95
+
96
+ addStringOption("Xdoclint:none", "-quiet")
97
+ // non-standard option to fail on warnings, see https://bugs.openjdk.java.net/browse/JDK-8200363
98
+ addStringOption("Xwerror", "-quiet")
99
+ }
100
101
102
withType<AbstractArchiveTask>().configureEach {
103
isPreserveFileTimestamps = false
104
isReproducibleFileOrder = true
0 commit comments