From 4323ab679286e080f2f24fdc6f17dc2121d7129e Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:33:41 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-parent-context See gh-47263 --- smoke-test/spring-boot-smoke-test-parent-context/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-parent-context/build.gradle b/smoke-test/spring-boot-smoke-test-parent-context/build.gradle index 578eb14c6a5..459864708ae 100644 --- a/smoke-test/spring-boot-smoke-test-parent-context/build.gradle +++ b/smoke-test/spring-boot-smoke-test-parent-context/build.gradle @@ -28,3 +28,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-test")) testImplementation("org.awaitility:awaitility") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}