Propagate flutter tool verbose flag through gradle to flutter build bundle. (#18246)
This commit is contained in:
committed by
GitHub
parent
4bbd4ce981
commit
4a2ed22b0e
@@ -314,7 +314,9 @@ Future<Null> _buildGradleProjectV2(String gradle, BuildInfo buildInfo, String ta
|
||||
final Status status = logger.startProgress('Running \'gradlew $assembleTask\'...', expectSlowOperation: true);
|
||||
final String gradlePath = fs.file(gradle).absolute.path;
|
||||
final List<String> command = <String>[gradlePath];
|
||||
if (!logger.isVerbose) {
|
||||
if (logger.isVerbose) {
|
||||
command.add('-Pverbose=true');
|
||||
} else {
|
||||
command.add('-q');
|
||||
}
|
||||
if (artifacts is LocalEngineArtifacts) {
|
||||
|
||||
Reference in New Issue
Block a user