File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,14 @@ apply plugin: 'osgi'
1818
1919archivesBaseName = ' bson'
2020
21+ jar {
22+ manifest {
23+ instruction ' Import-Package' ,
24+ ' javax.xml.bind.*' ,
25+ ' org.slf4j;resolution:=optional'
26+ }
27+ }
28+
2129modifyPom {
2230 project {
2331 name ' BSON'
Original file line number Diff line number Diff line change @@ -30,11 +30,13 @@ jar {
3030 manifest {
3131 instruction ' Import-Package' ,
3232 ' org.bson.*' , // unfortunate that this is necessary, but if it's left out then it's not included
33+ ' javax.crypto.*' ,
34+ ' javax.crypto.spec.*' ,
3335 ' javax.management.*' ,
3436 ' javax.net.*' ,
3537 ' javax.net.ssl.*' ,
3638 ' javax.security.sasl.*' ,
37- ' javax.security.auth.*' ,
39+ ' javax.security.auth.callback. *' ,
3840 ' org.ietf.jgss.*' ,
3941 ' io.netty.*;resolution:=optional' ,
4042 ' org.slf4j;resolution:=optional'
Original file line number Diff line number Diff line change @@ -46,11 +46,14 @@ sourceSets {
4646jar {
4747 manifest {
4848 instruction ' Import-Package' ,
49+ ' javax.xml.bind.*' ,
50+ ' javax.crypto.*' ,
51+ ' javax.crypto.spec.*' ,
4952 ' javax.management.*' ,
5053 ' javax.net.*' ,
5154 ' javax.net.ssl.*' ,
5255 ' javax.security.sasl.*' ,
53- ' javax.security.auth.*' ,
56+ ' javax.security.auth.callback. *' ,
5457 ' org.ietf.jgss.*' ,
5558 ' io.netty.*;resolution:=optional' ,
5659 ' org.slf4j;resolution:=optional'
You can’t perform that action at this time.
0 commit comments