From 9fbdcbdf36a3ae9087146ee82a9eb752b6d01bf8 Mon Sep 17 00:00:00 2001 From: Valentin Kovalenko Date: Mon, 30 Sep 2024 21:50:32 -0600 Subject: [PATCH] Exclude `com.oracle.svm.core.annotate` from `Import-Package` for OSGi (#1518) JAVA-5632 --- driver-core/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/driver-core/build.gradle b/driver-core/build.gradle index c23a24a9fb8..70061ca2b1e 100644 --- a/driver-core/build.gradle +++ b/driver-core/build.gradle @@ -82,6 +82,7 @@ afterEvaluate { '!sun.misc.*', // Used by DirectBufferDeallocator only for java 8 '!sun.nio.ch.*', // Used by DirectBufferDeallocator only for java 8 '!javax.annotation.*', // Brought in by com.google.code.findbugs:annotations + '!com.oracle.svm.core.annotate.*', // this dependency is provided by the GraalVM runtime 'io.netty.*;resolution:=optional', 'com.amazonaws.*;resolution:=optional', 'software.amazon.awssdk.*;resolution:=optional',