From c060300676f53f781e9f7ba11a97bb68f4d20a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Fri, 17 May 2024 08:59:11 +0200 Subject: [PATCH 1/2] Restore legacy shrinking configuration for AGP `8.4.x` The current one is causing issues with release builds and no changes in proguard rules seem to fix them. --- gradle.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gradle.properties b/gradle.properties index cc75862b1f6..8f7a91dbcfc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -59,3 +59,6 @@ android.enableBuildConfigAsBytecode=true # By default, the plugin applies itself to all subprojects, but we don't want that as it would cause issues with builds using local AARs dependency.analysis.autoapply=false + +# Disabled new R8 shrinking for local dependencies as it causes issues with release builds +android.disableMinifyLocalDependenciesForLibraries=false From e01b9ad6bcc315035c374b6f6e2a1a3107dd6338 Mon Sep 17 00:00:00 2001 From: Jorge Martin Espinosa Date: Fri, 17 May 2024 10:46:47 +0200 Subject: [PATCH 2/2] Update gradle.properties wording Co-authored-by: Benoit Marty --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 8f7a91dbcfc..19237b74cfd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -60,5 +60,5 @@ android.enableBuildConfigAsBytecode=true # By default, the plugin applies itself to all subprojects, but we don't want that as it would cause issues with builds using local AARs dependency.analysis.autoapply=false -# Disabled new R8 shrinking for local dependencies as it causes issues with release builds +# Disable new R8 shrinking for local dependencies as it causes issues with release builds android.disableMinifyLocalDependenciesForLibraries=false