@@ -115,16 +115,16 @@ components.java.withVariantsFromConfiguration(configurations.testFixturesApiElem
115115components. java. withVariantsFromConfiguration(configurations. testFixturesRuntimeElements) { skip() }
116116
117117tasks. withType(JavaCompile ). configureEach {
118- options. errorprone {
119- disableAllChecks = true
120- option(" NullAway:CustomContractAnnotations" , " org.springframework.lang.Contract" )
121- option(" NullAway:AnnotatedPackages" , " org.springframework" )
122- option(" NullAway:UnannotatedSubPackages" , " org.springframework.instrument,org.springframework.context.index," +
118+ options. errorprone {
119+ disableAllChecks = true
120+ option(" NullAway:CustomContractAnnotations" , " org.springframework.lang.Contract" )
121+ option(" NullAway:AnnotatedPackages" , " org.springframework" )
122+ option(" NullAway:UnannotatedSubPackages" , " org.springframework.instrument,org.springframework.context.index," +
123123 " org.springframework.asm,org.springframework.cglib,org.springframework.objenesis," +
124124 " org.springframework.javapoet,org.springframework.aot.nativex.substitution,org.springframework.aot.nativex.feature" )
125- }
125+ }
126126}
127127tasks. compileJava {
128- // The check defaults to a warning, bump it up to an error for the main sources
129- options. errorprone. error(" NullAway" )
130- }
128+ // The check defaults to a warning, bump it up to an error for the main sources
129+ options. errorprone. error(" NullAway" )
130+ }
0 commit comments