Merge branch '6.2.x'

This commit is contained in:
Sam Brannen 2025-04-06 17:40:51 +02:00
commit cfb7888044
1 changed files with 6 additions and 6 deletions

View File

@ -115,14 +115,14 @@ components.java.withVariantsFromConfiguration(configurations.testFixturesApiElem
components.java.withVariantsFromConfiguration(configurations.testFixturesRuntimeElements) { skip() }
tasks.withType(JavaCompile).configureEach {
options.errorprone {
disableAllChecks = true
options.errorprone {
disableAllChecks = true
option("NullAway:OnlyNullMarked", "true")
option("NullAway:CustomContractAnnotations", "org.springframework.lang.Contract")
option("NullAway:JSpecifyMode", "true")
}
}
}
tasks.compileJava {
// The check defaults to a warning, bump it up to an error for the main sources
options.errorprone.error("NullAway")
// The check defaults to a warning, bump it up to an error for the main sources
options.errorprone.error("NullAway")
}