From f03818f41393ad890914fbd6f95cd638a6d5f7b0 Mon Sep 17 00:00:00 2001 From: Jorge Martin Espinosa Date: Fri, 17 May 2024 11:08:34 +0200 Subject: [PATCH] Restore legacy shrinking configuration for AGP `8.4.x` (#2867) * 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. Co-authored-by: Benoit Marty --------- Co-authored-by: Benoit Marty --- gradle.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gradle.properties b/gradle.properties index cc75862b1f..19237b74cf 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 + +# Disable new R8 shrinking for local dependencies as it causes issues with release builds +android.disableMinifyLocalDependenciesForLibraries=false