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