From 0f41e906b92ef122789a9393062282536fae7913 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Mon, 6 Oct 2025 11:34:52 +0200 Subject: [PATCH] Add nullability annotations to tests in module/spring-boot-cache-test See gh-47263 --- module/spring-boot-cache-test/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) 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" +}