From 88ab24ff9985d6b319b2cf674afd361ba1bc8b3f Mon Sep 17 00:00:00 2001 From: HongJongMin Date: Wed, 16 Sep 2026 18:15:06 +0900 Subject: [PATCH] Enable nullability checking of spring-boot-batch-data-mongodb's tests Signed-off-by: HongJongMin See gh-51780 --- module/spring-boot-batch-data-mongodb/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/module/spring-boot-batch-data-mongodb/build.gradle b/module/spring-boot-batch-data-mongodb/build.gradle index e506998f726..5ef6bffb894 100644 --- a/module/spring-boot-batch-data-mongodb/build.gradle +++ b/module/spring-boot-batch-data-mongodb/build.gradle @@ -43,3 +43,11 @@ dependencies { testRuntimeOnly("ch.qos.logback:logback-classic") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +} + +tasks.named("compileDockerTestJava") { + options.nullability.checking = "tests" +}