From 86f9de0e50ec1cba8217a74895f4b6ca56246dff Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Thu, 11 May 2023 23:02:08 +0200 Subject: [PATCH] Make error_prone_annotations dependency optional 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. --- core/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/core/pom.xml b/core/pom.xml index 2b295101be..047c2b78d0 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -29,6 +29,7 @@ com.google.errorprone error_prone_annotations + true