[flutter_tools] wire up complete support for Dart obfuscation (#50509)
This commit is contained in:
@@ -344,6 +344,9 @@ Future<void> buildGradleApp({
|
||||
if (androidBuildInfo.buildInfo.treeShakeIcons) {
|
||||
command.add('-Ptree-shake-icons=true');
|
||||
}
|
||||
if (androidBuildInfo.buildInfo.dartObfuscation) {
|
||||
command.add('-Pdart-obfuscation=true');
|
||||
}
|
||||
command.add(assembleTask);
|
||||
|
||||
GradleHandledError detectedGradleError;
|
||||
|
||||
Reference in New Issue
Block a user