From fbbf82f399723ff75b3b2d9eb2a941a9be24cf85 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:24:33 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-jpa See gh-47263 --- smoke-test/spring-boot-smoke-test-data-jpa/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-data-jpa/build.gradle b/smoke-test/spring-boot-smoke-test-data-jpa/build.gradle index f4f9de48d1c..0957538ab63 100644 --- a/smoke-test/spring-boot-smoke-test-data-jpa/build.gradle +++ b/smoke-test/spring-boot-smoke-test-data-jpa/build.gradle @@ -32,3 +32,7 @@ dependencies { testImplementation(project(":module:spring-boot-webmvc-test")) testImplementation(project(":starter:spring-boot-starter-test")) } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}