diff --git a/smoke-test/spring-boot-smoke-test-actuator-noweb/build.gradle b/smoke-test/spring-boot-smoke-test-actuator-noweb/build.gradle index 8b26daccaaa..4137a341b88 100644 --- a/smoke-test/spring-boot-smoke-test-actuator-noweb/build.gradle +++ b/smoke-test/spring-boot-smoke-test-actuator-noweb/build.gradle @@ -26,4 +26,8 @@ dependencies { implementation(project(":starter:spring-boot-starter-actuator")) testImplementation(project(":starter:spring-boot-starter-test")) -} \ No newline at end of file +} + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}