How to tell Gradle to use -console = plain all the time?

I use gradle from a bit unorthodox terminal, so gradle traditional "pretty" output doesn't work.

Is there a way to indicate in ~ / .gradle / gradle.properties that --console=plain should be used for every gradle command?

+6
source share
2 answers

you can try adding this to your ~/.gradle/init.gradle file

 gradle.startParameter.colorOutput = false 

this seems like a trick on my osx terminal.

+1
source

Use org.gradle.console=plain

(Filling out because this post-body must be at least 30 characters, despite the fact that the complete and accurate answer takes only 28.)

0
source

All Articles