From dcdafa075009468314c2ceee8213b5f87eb1898d Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:16:25 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-actuator-extension See gh-47263 --- .../spring-boot-smoke-test-actuator-extension/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/smoke-test/spring-boot-smoke-test-actuator-extension/build.gradle b/smoke-test/spring-boot-smoke-test-actuator-extension/build.gradle index de4200be38a..20ceef11b9a 100644 --- a/smoke-test/spring-boot-smoke-test-actuator-extension/build.gradle +++ b/smoke-test/spring-boot-smoke-test-actuator-extension/build.gradle @@ -26,4 +26,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" +}