diff --git a/gradle/spring-module.gradle b/gradle/spring-module.gradle index c97b273ccf6..503a26df363 100644 --- a/gradle/spring-module.gradle +++ b/gradle/spring-module.gradle @@ -118,6 +118,7 @@ tasks.withType(JavaCompile).configureEach { disableAllChecks = true option("NullAway:OnlyNullMarked", "true") option("NullAway:CustomContractAnnotations", "org.springframework.lang.Contract") + option("NullAway:JSpecifyMode", "true") } } tasks.compileJava {