diff --git a/smoke-test/spring-boot-smoke-test-graphql/build.gradle b/smoke-test/spring-boot-smoke-test-graphql/build.gradle index 79065935e70..109fc3fe779 100644 --- a/smoke-test/spring-boot-smoke-test-graphql/build.gradle +++ b/smoke-test/spring-boot-smoke-test-graphql/build.gradle @@ -32,3 +32,7 @@ dependencies { testRuntimeOnly("org.springframework:spring-webflux") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}