diff --git a/module/spring-boot-session-hazelcast/build.gradle b/module/spring-boot-session-hazelcast/build.gradle index 87b895ca845..318aa178fe7 100644 --- a/module/spring-boot-session-hazelcast/build.gradle +++ b/module/spring-boot-session-hazelcast/build.gradle @@ -42,3 +42,7 @@ dependencies { testRuntimeOnly("ch.qos.logback:logback-classic") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}