From d41a762ba3498cb80371dcc52c58bd07304d4371 Mon Sep 17 00:00:00 2001 From: nuclearfog Date: Sun, 22 Jan 2023 17:39:25 +0100 Subject: [PATCH] fixed build warnings --- app/proguard-rules.pro | 29 ++++++++++++++++++++++++----- app/src/main/AndroidManifest.xml | 1 + build.gradle | 2 +- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 544b5ca4..1132152b 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -5,18 +5,37 @@ # keep these libraries but allow obfuscating -dontwarn org.conscrypt.Conscrypt -#noinspection ShrinkerUnresolvedReference -keep,allowobfuscation, allowoptimization class org.conscrypt.Conscrypt {*;} --adaptclassstrings org.conscrypt.Conscrypt -dontwarn org.conscrypt.OpenSSLProvider -#noinspection ShrinkerUnresolvedReference -keep,allowobfuscation, allowoptimization class org.conscrypt.OpenSSLProvider {*;} --adaptclassstrings org.conscrypt.OpenSSLProvider + +-dontwarn org.conscrypt.Conscrypt$Version +-keep,allowobfuscation, allowoptimization class org.conscrypt.Conscrypt$Version {*;} + +-dontwarn org.conscrypt.ConscryptHostnameVerifier +-keep,allowobfuscation, allowoptimization class org.conscrypt.ConscryptHostnameVerifier {*;} -dontwarn android.support.v8.renderscript.** -keep,allowobfuscation, allowoptimization class android.support.v8.renderscript.** {*;} --adaptclassstrings android.support.v8.renderscript.** + +-dontwarn org.bouncycastle.jsse.BCSSLParameters +-keep,allowobfuscation, allowoptimization class org.bouncycastle.jsse.BCSSLParameters {*;} + +-dontwarn org.bouncycastle.jsse.BCSSLSocket +-keep,allowobfuscation, allowoptimization class org.bouncycastle.jsse.BCSSLSocket {*;} + +-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider +-keep,allowobfuscation, allowoptimization class org.bouncycastle.jsse.provider.BouncyCastleJsseProvider {*;} + +-dontwarn org.openjsse.javax.net.ssl.SSLParameters +-keep,allowobfuscation, allowoptimization class org.openjsse.javax.net.ssl.SSLParameters {*;} + +-dontwarn org.openjsse.javax.net.ssl.SSLSocket +-keep,allowobfuscation, allowoptimization class org.openjsse.javax.net.ssl.SSLSocket {*;} + +-dontwarn org.openjsse.net.ssl.OpenJSSE +-keep,allowobfuscation, allowoptimization class org.openjsse.net.ssl.OpenJSSE {*;} -dontwarn javax.annotation.Nullable diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 782c05e0..425ba953 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -10,6 +10,7 @@ +