From cf088f852e41bc61b02cea9859a1cd3763aff778 Mon Sep 17 00:00:00 2001 From: Yuri Schimke Date: Mon, 10 Oct 2022 06:16:12 +0100 Subject: [PATCH] Extend Proguard Rules (#6792) (#7471) (cherry picked from commit 9da841c24c3b3dabc1d9230ab2f1e71105768771) --- okhttp/src/main/resources/META-INF/proguard/okhttp3.pro | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro b/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro index 0c6f70757570..713fbfb3f318 100644 --- a/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro +++ b/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro @@ -7,5 +7,8 @@ # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java. -dontwarn org.codehaus.mojo.animal_sniffer.* -# OkHttp platform used only on JVM and when Conscrypt dependency is available. --dontwarn okhttp3.internal.platform.ConscryptPlatform +# OkHttp platform used only on JVM and when Conscrypt and other security providers are available. +-dontwarn okhttp3.internal.platform.** +-dontwarn org.conscrypt.** +-dontwarn org.bouncycastle.** +-dontwarn org.openjsse.**