Skip to content

Commit 4e92977

Browse files
authored
Disable errorprone RequestExplicitNullMarking (#15530)
1 parent de6d533 commit 4e92977

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

conventions/src/main/kotlin/otel.nullaway-conventions.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ nullaway {
1818

1919
tasks {
2020
withType<JavaCompile>().configureEach {
21+
options.errorprone {
22+
// workaround for https://github.com/google/error-prone/issues/5387
23+
check("RequireExplicitNullMarking", CheckSeverity.OFF)
24+
}
2125
options.errorprone.nullaway {
2226
if (name.contains("test", ignoreCase = true)) {
2327
disable()
@@ -30,4 +34,3 @@ tasks {
3034
}
3135
}
3236
}
33-

0 commit comments

Comments
 (0)