proguard
proguard copied to clipboard
"Please correct the above warnings first." but no warning above
The warnings are hidden by default and I need to launch gradle with --info to display them. The issue has been introduced by 7.2.0-beta3 and is still there in beta6. It was still fine in beta2. Or it's not a bug, it's a feature ?
Hi @nbauma109 . This is due to the switch to using log4j for logging instead of writing directly to stdout/stderr.
It's a feature, since the log output is more controllable. However, the "Please correct the above warnings first." wording should probably be updated.
It looks like Gradle already suggests to run with a different logging level if this exception occurs e.g. I see the following:
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
7.2.1 GUI didn't fix :(
I hope that these warnings can be output by default, because these will cause the task execution to fail and nothing will happen, but it will be very confusing to only output the sentence "Please correct the above warnings first", but you must manually add --info to change the logging level.