Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradlew Printing Control Characters with Git Bash

Tags:

git-bash

I am using git-bash as Integrated terminal in Intellij Idea Community Edition(2020). The Gradlew Downloaded is 5.2.1

When I run something like gradlew build

It prints some random text like the screenshot attached. enter image description here

Initially I thought it has something to do with gradlew but then I tried building using CMD from Explorer it worked prefectly.

Then I even tried to build it with git-bash from Explorer and it worked. I tried using CMD as Integrated Terminal in IntelliJ and it worked with CMD as well.

I am not able to figure out what is wrong with git-bash and IntelliJ combination Any Help will be appreciated.

EDIT 1: Downgrading Git-bash for windows from 2.28.0 to 2.26.2 worked for me. Removing IntelliJ tag from Question.

I think there has to be some problem with git-bash 2.28.0

like image 411
Tushar Jajodia Avatar asked Sep 08 '20 07:09

Tushar Jajodia


1 Answers

Thanks @docslax. This is how I fixed it on Android Studio.

Android Studio Settings

like image 152
Jorge Pastor Avatar answered Oct 05 '22 00:10

Jorge Pastor