From 6fc02be49dd94214991db0718dd551d4b5db6312 Mon Sep 17 00:00:00 2001 From: devgianlu Date: Sat, 14 Sep 2024 17:35:42 +0200 Subject: [PATCH] Disable minification --- app/build.gradle | 5 ++--- app/proguard-rules.pro | 15 --------------- 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 app/proguard-rules.pro diff --git a/app/build.gradle b/app/build.gradle index fd1c391de..079988e78 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -35,9 +35,8 @@ android { buildTypes { release { - minifyEnabled true + minifyEnabled false shrinkResources true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' if (isCi) signingConfig signingConfigs.release } } @@ -49,7 +48,7 @@ android { buildTypes { release { - minifyEnabled true + minifyEnabled false shrinkResources true } } diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro deleted file mode 100644 index 0e6ff0775..000000000 --- a/app/proguard-rules.pro +++ /dev/null @@ -1,15 +0,0 @@ --dontwarn okio.** --dontwarn okhttp3.internal.huc.StreamedRequestBody --dontwarn okhttp3.internal.huc.OkHttpURLConnection --keep class okhttp3.internal.** --dontwarn javax.annotation.Nullable --dontwarn javax.annotation.ParametersAreNonnullByDefault --dontwarn org.conscrypt.OpenSSLProvider --dontwarn org.conscrypt.Conscrypt - --keepattributes *Annotation* --keepattributes SourceFile,LineNumberTable --keep public class * extends java.lang.Exception - --dontwarn com.pavelsikun.vintagechroma.ChromaPreferenceCompat --dontwarn com.mikepenz.aboutlibraries.ui.item.HeaderItem \ No newline at end of file