Revert "Migrate template to Gradle 6.7 and AGP 4.1.0 (#70808)" (#71096)

This reverts commit 8e73bab94c.
This commit is contained in:
Amir Hardon
2020-11-23 12:27:36 -08:00
committed by GitHub
parent 8737472af1
commit 7df04fdbd3
170 changed files with 742 additions and 352 deletions

View File

@@ -587,10 +587,14 @@ abstract class FlutterCommand extends Command<void> {
void addShrinkingFlag() {
argParser.addFlag('shrink',
negatable: true,
hide: true,
help: 'This flag is deprecated. Code shrinking is always enabled in release builds. '
'To learn more, see: https://developer.android.com/studio/build/shrink-code'
);
defaultsTo: true,
help: 'Whether to enable code shrinking on release mode. '
'When enabling shrinking, you also benefit from obfuscation, '
'which shortens the names of your app’s classes and members, '
'and optimization, which applies more aggressive strategies to '
'further reduce the size of your app. '
'To learn more, see: https://developer.android.com/studio/build/shrink-code',
);
}
void addNullSafetyModeOptions({ @required bool hide }) {