We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6fae59 commit 00ae6d0Copy full SHA for 00ae6d0
gson/bnd.bnd
@@ -6,6 +6,10 @@ Bundle-ContactAddress: ${project.parent.url}
6
Bundle-RequiredExecutionEnvironment: JavaSE-1.6, JavaSE-1.7, JavaSE-1.8
7
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.6))"
8
9
+# Optional dependency for JDK's sun.misc.Unsafe
10
+# https://bnd.bndtools.org/chapters/920-faq.html#remove-unwanted-imports-
11
+Import-Package: sun.misc;resolution:=optional, *
12
+
13
-removeheaders: Private-Package
14
15
-exportcontents:\
gson/src/main/java/module-info.java
@@ -10,4 +10,7 @@
// Optional dependency on java.sql
requires static java.sql;
+ // Optional dependency on `jdk.unsupported` for JDK's sun.misc.Unsafe
+ requires static jdk.unsupported;
16
}
0 commit comments