diff --git a/smoke-test/spring-boot-smoke-test-parent-context/build.gradle b/smoke-test/spring-boot-smoke-test-parent-context/build.gradle index 578eb14c6a5..459864708ae 100644 --- a/smoke-test/spring-boot-smoke-test-parent-context/build.gradle +++ b/smoke-test/spring-boot-smoke-test-parent-context/build.gradle @@ -28,3 +28,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-test")) testImplementation("org.awaitility:awaitility") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}