gradle: Disable console output
By default gradle
spits out human friendly, dynamically updating output to stdout about the tasks that it's running. That can be annoying if you want to further process that output, for example to parse compile or runtime errors, so you can configure it.
Use plain text instead of ANSI text:
./gradlew --console=plain TASK ARGS...
Or silence gradle completely, leaving just any output from the task:
./gradlew --console=plain --quiet TASK ARGS...
Published on: 20 Mar 2024