• auto-submit[bot]'s avatar
    Reverts "Ensure `flutter build apk --release` optimizes+shrinks platform code" (#137433) · 4cae1af4
    auto-submit[bot] authored
    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] f098de1f
    
    Fixes https://github.com/flutter/flutter/issues/136879
    4cae1af4
Name
Last commit
Last update
.github Loading commit data...
.vscode Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.ci.yaml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
TESTOWNERS Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...