This reverts commit 8e73bab94c.
This commit is contained in:
@@ -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 }) {
|
||||
|
||||
Reference in New Issue
Block a user