diff --git a/smoke-test/spring-boot-smoke-test-rsocket/build.gradle b/smoke-test/spring-boot-smoke-test-rsocket/build.gradle index 24ea34f9e1c..aef313e70ee 100644 --- a/smoke-test/spring-boot-smoke-test-rsocket/build.gradle +++ b/smoke-test/spring-boot-smoke-test-rsocket/build.gradle @@ -29,3 +29,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-test")) testImplementation("io.projectreactor:reactor-test") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}