diff --git a/module/spring-boot-cache-test/build.gradle b/module/spring-boot-cache-test/build.gradle index 9863c2fe499..170069b36df 100644 --- a/module/spring-boot-cache-test/build.gradle +++ b/module/spring-boot-cache-test/build.gradle @@ -33,3 +33,7 @@ dependencies { testRuntimeOnly("ch.qos.logback:logback-classic") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}