Gradle $TERM not set