From a20bd8d2883bfa908a612b93b03f5fc77e7188b9 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:20:15 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-batch See gh-47263 --- smoke-test/spring-boot-smoke-test-batch/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/smoke-test/spring-boot-smoke-test-batch/build.gradle b/smoke-test/spring-boot-smoke-test-batch/build.gradle index e512f23fe05..7ade53cbb28 100644 --- a/smoke-test/spring-boot-smoke-test-batch/build.gradle +++ b/smoke-test/spring-boot-smoke-test-batch/build.gradle @@ -24,4 +24,8 @@ dependencies { implementation(project(":starter:spring-boot-starter-batch")) testImplementation(project(":starter:spring-boot-starter-test")) -} \ No newline at end of file +} + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}