From 41dc036ac7e8ea61ba895fa82f10d341b47dc57d Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 10:05:37 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-xml See gh-47263 --- smoke-test/spring-boot-smoke-test-xml/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-xml/build.gradle b/smoke-test/spring-boot-smoke-test-xml/build.gradle index 20f48ab49be..67ca068e586 100644 --- a/smoke-test/spring-boot-smoke-test-xml/build.gradle +++ b/smoke-test/spring-boot-smoke-test-xml/build.gradle @@ -25,3 +25,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-test")) } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}