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 156156 <maven-jar-plugin .version>3.4.2</maven-jar-plugin .version>
157157 <spring-javaformat-maven-plugin .version>0.0.47</spring-javaformat-maven-plugin .version>
158158 <error-prone .version>2.38.0</error-prone .version>
159+ <nullaway .version>0.12.7</nullaway .version>
159160 </properties >
160161
161162 <build >
187188 <compilerArg >--should-stop=ifError=FLOW</compilerArg >
188189 <compilerArg >
189190 -Xplugin:ErrorProne
191+ <!-- Check JSpecify annotations -->
192+ -Xep:NullAway:ERROR
193+ -XepOpt:NullAway:OnlyNullMarked
190194 </compilerArg >
191195 </compilerArgs >
192196 <annotationProcessorPaths >
195199 <artifactId >error_prone_core</artifactId >
196200 <version >${error-prone.version} </version >
197201 </path >
202+ <path >
203+ <groupId >com.uber.nullaway</groupId >
204+ <artifactId >nullaway</artifactId >
205+ <version >${nullaway.version} </version >
206+ </path >
198207 </annotationProcessorPaths >
199208 </configuration >
200209 </plugin >
You can’t perform that action at this time.
0 commit comments