Gradle 4.0 does not display executed tasks in command line

I figured out the issue. If you execute gradle --help- you may notice the --console option in the options list which is responsible for output during gradle task execution. Since gradle v4.0 console option is set to rich by default which causes the output I get using terminal. Basically using --console=plain fixes the issue (for example: gradle --console=plain build).


As of Gradle 4.3 there is another option: --console=verbose

This uses the new rich style output introduced in 4.0, but also outputs the task headers and outcomes (:compileJava UP-TO-DATE etc) that were the default in earlier versions. It also colors the output which --console=plain doesn't do.

The feature is detailed here in the release notes: https://docs.gradle.org/4.3/release-notes.html#new-command-line-options

Full list of options: https://docs.gradle.org/current/userguide/command_line_interface.html#sec:command_line_customizing_log_format