From 9d63a74bbc325106debf37a268ba941ef3105c8e Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Mon, 6 Oct 2025 12:21:38 +0200 Subject: [PATCH] Add nullability annotations to tests in module/spring-boot-jpa See gh-47263 --- module/spring-boot-jpa/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/spring-boot-jpa/build.gradle b/module/spring-boot-jpa/build.gradle index 594e3899eec..151a4be1675 100644 --- a/module/spring-boot-jpa/build.gradle +++ b/module/spring-boot-jpa/build.gradle @@ -38,3 +38,8 @@ dependencies { testImplementation(testFixtures(project(":core:spring-boot-autoconfigure"))) testImplementation("org.springframework:spring-context-support") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +} +