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

后端 未结 3 1517
臣服心动
臣服心动 2021-01-17 16:45

I am trying to build a console based application but whenver I run

./gradlew run

I get thr progress bar which looks like this:

         


        
3条回答
  •  Happy的楠姐
    2021-01-17 17:18

    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.

提交回复
热议问题