Skip to content

Commit df0b464

Browse files
committed
fix
1 parent 517f9ce commit df0b464

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ tasks {
2121
if (!name.contains("test", ignoreCase = true)) {
2222
options.errorprone.nullaway {
2323
severity.set(CheckSeverity.ERROR)
24-
customInitializerAnnotations.add("org.openjdk.jmh.annotations.Setup")
25-
excludedFieldAnnotations.add("org.mockito.Mock")
2624
}
2725
}
26+
options.errorprone.nullaway {
27+
customInitializerAnnotations.add("org.openjdk.jmh.annotations.Setup")
28+
excludedFieldAnnotations.add("org.mockito.Mock")
29+
}
2830
}
2931
}

0 commit comments

Comments
 (0)