diff --git a/smoke-test/spring-boot-smoke-test-data-r2dbc/build.gradle b/smoke-test/spring-boot-smoke-test-data-r2dbc/build.gradle index 5d6fc8f9c6d..66e8c5c3830 100644 --- a/smoke-test/spring-boot-smoke-test-data-r2dbc/build.gradle +++ b/smoke-test/spring-boot-smoke-test-data-r2dbc/build.gradle @@ -30,3 +30,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-webflux-test")) } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}