From ad075ae2af09828b14ceeb515a469f897ed4e359 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:20:49 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-bootstrap-registry See gh-47263 --- .../spring-boot-smoke-test-bootstrap-registry/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-bootstrap-registry/build.gradle b/smoke-test/spring-boot-smoke-test-bootstrap-registry/build.gradle index e287d1ba269..eb04c9512f1 100644 --- a/smoke-test/spring-boot-smoke-test-bootstrap-registry/build.gradle +++ b/smoke-test/spring-boot-smoke-test-bootstrap-registry/build.gradle @@ -25,3 +25,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-test")) } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}