How do I get rid of the Executing/Progress Bar when running a Gradle application?

Another way of doing this seems to be by setting the TERM environment variable to dumb.

Try TERM=dumb ./gradlew run


I know your question is specific to using the gradle wrapper, but if you're using the Gradle Tooling API, you can control the color output via setColorOutput. Combined with the --quiet argument (set via withArguments), this results in plain-text output.


To make it a default behavior, add org.gradle.console=plain to gradle.properties file (prerequisite Gradle version is more than 4.x).

For one time execution add --console=plain flag to your command.


You can configure the Gradle log format using console command line parameter, as described here : https://docs.gradle.org/current/userguide/command_line_interface.html#rich_console

Try with : ./gradlew run --console=plain

Tags:

Gradle