Browse Source

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

See gh-47263
pull/47415/head
Moritz Halbritter 3 months ago
parent
commit
1d4b9d372f
  1. 8
      module/spring-boot-elasticsearch/build.gradle

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

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

Loading…
Cancel
Save