Browse Source

Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-elasticsearch

See gh-47263
pull/47665/head
Moritz Halbritter 2 months ago
parent
commit
27ac6303de
  1. 8
      smoke-test/spring-boot-smoke-test-data-elasticsearch/build.gradle

8
smoke-test/spring-boot-smoke-test-data-elasticsearch/build.gradle

@ -37,3 +37,11 @@ dependencies {
dockerTestImplementation("org.testcontainers:elasticsearch") dockerTestImplementation("org.testcontainers:elasticsearch")
dockerTestImplementation("org.testcontainers:testcontainers") dockerTestImplementation("org.testcontainers:testcontainers")
} }
tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}
tasks.named("compileDockerTestJava") {
options.nullability.checking = "tests"
}

Loading…
Cancel
Save