Enable NullAway JSpecify mode

See gh-34140
This commit is contained in:
Sébastien Deleuze 2025-01-13 20:50:15 +01:00
parent b9c1aec62f
commit c0039fb624
1 changed files with 1 additions and 0 deletions

View File

@ -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 {