Skip to content

Commit 64ea76d

Browse files
committed
Restore werror
1 parent daa8e38 commit 64ea76d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ tasks {
8787
// https://groups.google.com/forum/#!topic/bazel-discuss/_R3A9TJSoPM
8888
"-Xlint:-processing",
8989
// We suppress the "options" warning because it prevents compilation on modern JDKs
90-
"-Xlint:-options"
90+
"-Xlint:-options",
91+
// Fail build on any warning
92+
"-Werror",
9193
),
9294
)
9395
}

0 commit comments

Comments
 (0)