diff --git a/module/spring-boot-h2console/build.gradle b/module/spring-boot-h2console/build.gradle index bd510e78e45..dd74faceabd 100644 --- a/module/spring-boot-h2console/build.gradle +++ b/module/spring-boot-h2console/build.gradle @@ -39,3 +39,7 @@ dependencies { testRuntimeOnly("ch.qos.logback:logback-classic") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}