Browse Source

Add nullability annotations to tests in module/spring-boot-opentelemetry

See gh-47263
pull/47626/head
Moritz Halbritter 5 months ago
parent
commit
05b3f55049
  1. 8
      module/spring-boot-opentelemetry/build.gradle

8
module/spring-boot-opentelemetry/build.gradle

@ -48,3 +48,11 @@ dependencies {
testRuntimeOnly("ch.qos.logback:logback-classic") testRuntimeOnly("ch.qos.logback:logback-classic")
testRuntimeOnly("io.grpc:grpc-api") testRuntimeOnly("io.grpc:grpc-api")
} }
tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}
tasks.named("compileDockerTestJava") {
options.nullability.checking = "tests"
}

Loading…
Cancel
Save