Skip to content

Commit

Permalink
Make error_prone_annotations dependency optional
Browse files Browse the repository at this point in the history
Annotations with retention policy are ignored if they cannot be loaded
at runtime. Make the dependency optional to not enforce the presence of
error_prone_annotations in a java runtime even if those annotations are
not used at all.
  • Loading branch information
HannesWell committed May 11, 2023
1 parent 654032a commit 86f9de0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<optional>true</optional>
</dependency>
<!--
| ASM is embedded by default by the JarJar build profile
Expand Down

0 comments on commit 86f9de0

Please sign in to comment.