Skip to content

Commit 1bcf29d

Browse files
committed
Make the import of com.google.errorprone optional
Fix #2794
1 parent b2e26fa commit 1bcf29d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gson/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@
146146
Bundle-ContactAddress: ${project.parent.url}
147147
148148
# Optional dependency for JDK's sun.misc.Unsafe
149+
# Optional dependency to google.errorprone
149150
# https://bnd.bndtools.org/chapters/920-faq.html#remove-unwanted-imports-
150-
Import-Package: sun.misc;resolution:=optional, *
151+
Import-Package: sun.misc;resolution:=optional, com.google.errorprone.*;resolution:=optional, *
151152
152153
-removeheaders: Private-Package
153154

0 commit comments

Comments
 (0)