You should do ```TERM=dumb ./gradlew clean build --quiet```, because travis' terminal does not support ansi