@@ -115,16 +115,16 @@ components.java.withVariantsFromConfiguration(configurations.testFixturesApiElem
115
115
components. java. withVariantsFromConfiguration(configurations. testFixturesRuntimeElements) { skip() }
116
116
117
117
tasks. 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," +
123
123
" org.springframework.asm,org.springframework.cglib,org.springframework.objenesis," +
124
124
" org.springframework.javapoet,org.springframework.aot.nativex.substitution,org.springframework.aot.nativex.feature" )
125
- }
125
+ }
126
126
}
127
127
tasks. 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