From b3a7e32a08c4ae724e646e080c1111fd0cf967dd Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 31 Aug 2026 23:28:13 -0500 Subject: [PATCH] Update jMDNS and BouncyCastle dependencies --- app/build.gradle | 13 ++++++++++--- gradle.properties | 1 - 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c584bc99b..34c191449 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -131,13 +131,20 @@ android { path "src/main/jni/Android.mk" } } + + packaging { + resources { + // BouncyCastle includes duplicate LICENSE.md files + excludes += '/META-INF/*.md' + } + } } dependencies { - implementation 'org.bouncycastle:bcprov-jdk18on:1.77' - implementation 'org.bouncycastle:bcpkix-jdk18on:1.77' + implementation 'org.bouncycastle:bcprov-jdk18on:1.85.2' + implementation 'org.bouncycastle:bcpkix-jdk18on:1.85' implementation 'org.jcodec:jcodec:0.2.5' implementation 'com.squareup.okhttp3:okhttp:4.12.0' - implementation 'org.jmdns:jmdns:3.5.9' + implementation 'org.jmdns:jmdns:3.6.3' implementation 'com.github.cgutman:ShieldControllerExtensions:1.0.1' } diff --git a/gradle.properties b/gradle.properties index 008dfae77..e0212117d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,7 +11,6 @@ # The setting is particularly useful for tweaking memory settings. # Default value: -Xmx10248m -XX:MaxPermSize=256m # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -android.useAndroidX=false org.gradle.jvmargs=-Xmx3072m # When configured, Gradle will run in incubating parallel mode.