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 <benoit@matrix.org>

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
This commit is contained in:
Jorge Martin Espinosa 2024-05-17 11:08:34 +02:00 committed by GitHub
parent 7e0951471b
commit f03818f413
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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