Skip to content

Commit b9b3b9d

Browse files
committed
Build: OSGI update for com.mongodb.crypt.capi
Also minor fix for bnd package warning JAVA-3575
1 parent 7a3fbd7 commit b9b3b9d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

bson/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ ext {
2222
pomURL = 'https://bsonspec.org'
2323
}
2424

25-
jar.manifest.attributes['Import-Package'] = 'org.slf4j;resolution:=optional'
25+
jar.manifest.attributes['Import-Package'] = 'org.slf4j.*;resolution:=optional'

driver-core/build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,17 @@ afterEvaluate {
5858
jar.manifest.attributes['Import-Package'] = [
5959
'org.bson.*', // unfortunate that this is necessary, but if it's left out then it's not included
6060
'javax.crypto.*',
61-
'javax.crypto.spec.*',
6261
'javax.management.*',
6362
'javax.naming.*',
64-
'javax.naming.directory.*',
6563
'javax.net.*',
66-
'javax.net.ssl.*',
6764
'javax.security.sasl.*',
6865
'javax.security.auth.callback.*',
6966
'org.ietf.jgss.*',
7067
'io.netty.*;resolution:=optional',
7168
'org.xerial.snappy.*;resolution:=optional',
7269
'com.github.luben.zstd.*;resolution:=optional',
73-
'org.slf4j;resolution:=optional',
74-
'jnr.unixsocket;resolution:=optional'
70+
'org.slf4j.*;resolution:=optional',
71+
'jnr.unixsocket.*;resolution:=optional',
72+
'com.mongodb.crypt.capi.*;resolution:=optional'
7573
].join(',')
7674
}

0 commit comments

Comments
 (0)