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