Browse Source

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

See gh-47263
pull/47665/head
Moritz Halbritter 3 months ago
parent
commit
3f3b7a4523
  1. 8
      smoke-test/spring-boot-smoke-test-data-redis/build.gradle

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

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

Loading…
Cancel
Save