Skip to content

Commit 7b94afe

Browse files
committed
OSGI: Mark com.mongodb.crypt.capi as optional
The OSGI plugin needs some help marking optional dependency packages as optional. JAVA-3604
1 parent db49771 commit 7b94afe

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

driver-async/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jar {
5050
instruction 'Build-Version', project.gitVersion
5151
instruction 'Import-Package',
5252
'org.bson.*',
53+
'com.mongodb.crypt.capi.*;resolution:=optional;',
5354
'com.mongodb.*',
5455
'io.netty.*;resolution:=optional'
5556
}

driver-sync/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jar {
5353
instruction 'Build-Version', project.gitVersion
5454
instruction 'Import-Package',
5555
'org.bson.*',
56+
'com.mongodb.crypt.capi.*;resolution:=optional',
5657
'com.mongodb.*'
5758
}
5859
}

0 commit comments

Comments
 (0)