diff --git a/module/spring-boot-webtestclient/build.gradle b/module/spring-boot-webtestclient/build.gradle index 105fd23f329..b6c42cffc10 100644 --- a/module/spring-boot-webtestclient/build.gradle +++ b/module/spring-boot-webtestclient/build.gradle @@ -37,3 +37,7 @@ dependencies { testRuntimeOnly("jakarta.servlet:jakarta.servlet-api") testRuntimeOnly("org.springframework:spring-webmvc") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}