File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 156
156
<maven-jar-plugin .version>3.4.2</maven-jar-plugin .version>
157
157
<spring-javaformat-maven-plugin .version>0.0.39</spring-javaformat-maven-plugin .version>
158
158
<error-prone .version>2.38.0</error-prone .version>
159
+ <nullaway .version>0.12.7</nullaway .version>
159
160
</properties >
160
161
161
162
<build >
187
188
<compilerArg >--should-stop=ifError=FLOW</compilerArg >
188
189
<compilerArg >
189
190
-Xplugin:ErrorProne
191
+ <!-- Check JSpecify annotations -->
192
+ -Xep:NullAway:ERROR
193
+ -XepOpt:NullAway:OnlyNullMarked
190
194
</compilerArg >
191
195
</compilerArgs >
192
196
<annotationProcessorPaths >
195
199
<artifactId >error_prone_core</artifactId >
196
200
<version >${error-prone.version} </version >
197
201
</path >
202
+ <path >
203
+ <groupId >com.uber.nullaway</groupId >
204
+ <artifactId >nullaway</artifactId >
205
+ <version >${nullaway.version} </version >
206
+ </path >
198
207
</annotationProcessorPaths >
199
208
</configuration >
200
209
</plugin >
You can’t perform that action at this time.
0 commit comments