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" +}