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