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