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