From b9e53272dd927ecdb5b1d98cd542d6d7d024c7ca Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Sat, 23 Nov 2024 15:10:46 -0800 Subject: [PATCH] Fail of javadoc warnings --- buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts b/buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts index d0bf775..64f3a5c 100644 --- a/buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts @@ -80,6 +80,8 @@ tasks { links("https://docs.oracle.com/javase/8/docs/api/") addBooleanOption("Xdoclint:all,-missing", true) + // non-standard option to fail on warnings, see https://bugs.openjdk.java.net/browse/JDK-8200363 + addStringOption("Xwerror", "-quiet") } }