Skip to content

Commit 46cb9ed

Browse files
author
Emmanuel Garcia
authored
Reduce Gradle log level in verbose output (#102422)
1 parent 899548c commit 46cb9ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/flutter_tools/lib/src/android/gradle.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ class AndroidGradleBuilder implements AndroidBuilder {
269269
];
270270
if (_logger.isVerbose) {
271271
command.add('--full-stacktrace');
272-
command.add('--debug');
272+
command.add('--info');
273273
command.add('-Pverbose=true');
274274
} else {
275275
command.add('-q');
@@ -593,7 +593,7 @@ class AndroidGradleBuilder implements AndroidBuilder {
593593
];
594594
if (_logger.isVerbose) {
595595
command.add('--full-stacktrace');
596-
command.add('--debug');
596+
command.add('--info');
597597
command.add('-Pverbose=true');
598598
} else {
599599
command.add('-q');

packages/flutter_tools/test/general.shard/android/android_gradle_builder_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ void main() {
142142
command: <String>[
143143
'gradlew',
144144
'--full-stacktrace',
145-
'--debug',
145+
'--info',
146146
'-Pverbose=true',
147147
'-Ptarget-platform=android-arm,android-arm64,android-x64',
148148
'-Ptarget=lib/main.dart',
@@ -782,7 +782,7 @@ void main() {
782782
'-Pis-plugin=false',
783783
'-PbuildNumber=1.0',
784784
'--full-stacktrace',
785-
'--debug',
785+
'--info',
786786
'-Pverbose=true',
787787
'-Pdart-obfuscation=false',
788788
'-Ptrack-widget-creation=false',

0 commit comments

Comments
 (0)