From d394ef7fa0d2a0dd482a0189f87ba086f32165b6 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:54:17 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-web-application-type See gh-47263 --- .../spring-boot-smoke-test-web-application-type/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-web-application-type/build.gradle b/smoke-test/spring-boot-smoke-test-web-application-type/build.gradle index 3d40e01d4a7..e0ae1808344 100644 --- a/smoke-test/spring-boot-smoke-test-web-application-type/build.gradle +++ b/smoke-test/spring-boot-smoke-test-web-application-type/build.gradle @@ -26,3 +26,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-test")) } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}