@@ -6,15 +6,13 @@ apply plugin: 'org.springframework.build.optional-dependencies'
6
6
// apply plugin: 'io.github.goooler.shadow'
7
7
apply plugin : ' me.champeau.jmh'
8
8
apply from : " $rootDir /gradle/publications.gradle"
9
- apply plugin : ' net.ltgt.errorprone '
9
+ apply plugin : " io.spring.nullability "
10
10
11
11
dependencies {
12
12
jmh ' org.openjdk.jmh:jmh-core:1.37'
13
13
jmh ' org.openjdk.jmh:jmh-generator-annprocess:1.37'
14
14
jmh ' org.openjdk.jmh:jmh-generator-bytecode:1.37'
15
15
jmh ' net.sf.jopt-simple:jopt-simple'
16
- errorprone ' com.uber.nullaway:nullaway:0.12.4'
17
- errorprone ' com.google.errorprone:error_prone_core:2.36.0'
18
16
}
19
17
20
18
pluginManager. withPlugin(" kotlin" ) {
@@ -126,15 +124,3 @@ publishing {
126
124
components. java. withVariantsFromConfiguration(configurations. testFixturesApiElements) { skip() }
127
125
components. java. withVariantsFromConfiguration(configurations. testFixturesRuntimeElements) { skip() }
128
126
129
- tasks. withType(JavaCompile ). configureEach {
130
- options. errorprone {
131
- disableAllChecks = true
132
- option(" NullAway:OnlyNullMarked" , " true" )
133
- option(" NullAway:CustomContractAnnotations" , " org.springframework.lang.Contract" )
134
- option(" NullAway:JSpecifyMode" , " true" )
135
- }
136
- }
137
- tasks. compileJava {
138
- // The check defaults to a warning, bump it up to an error for the main sources
139
- options. errorprone. error(" NullAway" )
140
- }
0 commit comments