Skip to content

Commit bcdb1e5

Browse files
committed
Exclude javax.annotation.* from OSGi imports (#895)
JAVA-4505
1 parent e9833b3 commit bcdb1e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver-core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ afterEvaluate {
6666
jar.manifest.attributes['Import-Package'] = [
6767
'!sun.misc.*', // Used by DirectBufferDeallocator only for java 8
6868
'!sun.nio.ch.*', // Used by DirectBufferDeallocator only for java 8
69+
'!javax.annotation.*', // Brought in by com.google.code.findbugs:annotations
6970
'io.netty.*;resolution:=optional',
7071
'org.xerial.snappy.*;resolution:=optional',
7172
'com.github.luben.zstd.*;resolution:=optional',

0 commit comments

Comments
 (0)