diff --git a/build.gradle b/build.gradle index 4e36496a0..1a4a467d2 100644 --- a/build.gradle +++ b/build.gradle @@ -73,8 +73,8 @@ ext.versions = [ "guava": "30.1-jre", "jackson": "2.11.2", "launchdarklyJavaSdkCommon": "1.3.0", - "okhttp": "4.8.1", // specify this for the SDK build instead of relying on the transitive dependency from okhttp-eventsource - "okhttpEventsource": "2.6.1", + "okhttp": "4.9.3", // specify this for the SDK build instead of relying on the transitive dependency from okhttp-eventsource + "okhttpEventsource": "2.6.2", "slf4j": "1.7.21", "snakeyaml": "1.26", "jedis": "2.9.0" @@ -362,7 +362,7 @@ def getPackagesInDependencyJar(jarFile) { new java.util.zip.ZipFile(jarFile).withCloseable { zf -> zf.entries().findAll { !it.directory && it.name.endsWith(".class") }.collect { it.name.contains("/") ? it.name.substring(0, it.name.lastIndexOf("/")).replace("/", ".") : "" - }.findAll { !it.equals("") }.unique() + }.findAll { !it.equals("") && !it.startsWith("META-INF") }.unique() } }