diff --git a/smoke-test/spring-boot-smoke-test-profile/build.gradle b/smoke-test/spring-boot-smoke-test-profile/build.gradle index a4777174ff8..73d7371cf36 100644 --- a/smoke-test/spring-boot-smoke-test-profile/build.gradle +++ b/smoke-test/spring-boot-smoke-test-profile/build.gradle @@ -26,3 +26,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-test")) } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}