diff --git a/smoke-test/spring-boot-smoke-test-config/build.gradle b/smoke-test/spring-boot-smoke-test-config/build.gradle index 5125ec8d8ed..1913ec80190 100644 --- a/smoke-test/spring-boot-smoke-test-config/build.gradle +++ b/smoke-test/spring-boot-smoke-test-config/build.gradle @@ -29,3 +29,7 @@ dependencies { tasks.named("test", Test) { environment "SMOKE_TEST_CONFIG_ENV", "from-env.key1=value1" } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}