Files
flutter/packages/flutter_tools/gradle
auto-submit[bot] 4cae1af41d Reverts "Ensure flutter build apk --release optimizes+shrinks platform code" (#137433)
Reverts flutter/flutter#136880
Initiated by: camsim99
This change reverts the following previous change:
Original Description:
Since the original PR that supposedly enabled proguard, it was using the android proguard rules that disable optimizations. See initial PR in [0]

This PR changes the flutter gradle plugin to use the `proguard-android-optimize.txt` (instead of `proguard-android.txt`) which will enable optimizations/shrinking of platform code (i.e. java/kotlin).

For a simple flutter hello world this results in a 25% reduction in the resulting DEX file (`classes.dex` of the APK).

[0] f098de1fde

Fixes https://github.com/flutter/flutter/issues/136879
2023-10-27 18:07:26 +00:00
..
2019-11-27 15:04:02 -08:00