From db1c0aa26f8031170ee1e498212cc399244bf8d5 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 10:03:44 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-webservices See gh-47263 --- smoke-test/spring-boot-smoke-test-webservices/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-webservices/build.gradle b/smoke-test/spring-boot-smoke-test-webservices/build.gradle index 42257c83a08..0c4a12f9e1b 100644 --- a/smoke-test/spring-boot-smoke-test-webservices/build.gradle +++ b/smoke-test/spring-boot-smoke-test-webservices/build.gradle @@ -30,3 +30,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":module:spring-boot-webservices-test")) } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}