From b631b7164f25bcdd3793a634fdc48b058eabe6a9 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:18:31 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-actuator-ui See gh-47263 --- smoke-test/spring-boot-smoke-test-actuator-ui/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/smoke-test/spring-boot-smoke-test-actuator-ui/build.gradle b/smoke-test/spring-boot-smoke-test-actuator-ui/build.gradle index 5c25c582ca7..befd94999ac 100644 --- a/smoke-test/spring-boot-smoke-test-actuator-ui/build.gradle +++ b/smoke-test/spring-boot-smoke-test-actuator-ui/build.gradle @@ -28,4 +28,8 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-webmvc-test")) testImplementation(project(":starter:spring-boot-starter-test")) -} \ No newline at end of file +} + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}