Skip to content

Commit 222df64

Browse files
authored
Fail of javadoc warnings (#100)
1 parent c555d9f commit 222df64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ tasks {
7979
// TODO (trask) need to disable html validation until next semconv release
8080
// see https://github.com/open-telemetry/semantic-conventions/pull/1664
8181
addBooleanOption("Xdoclint:all,-missing,-html", true)
82+
// non-standard option to fail on warnings, see https://bugs.openjdk.java.net/browse/JDK-8200363
83+
addStringOption("Xwerror", "-quiet")
8284
}
8385
}
8486

0 commit comments

Comments
 (0)