Skip to main content

Posts

Showing posts from May, 2016

How I ran Gradle with cntlm

I was behind a corporate firewall and had to run gradlew (gradle) from Cygwin. The system was running a cntlm authentication proxy. I ran the following command export http_proxy=http://127.0.0.1:3128/ export https_proxy=$http_proxy Then I ran ./gradlew -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=3128 -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 I hope it helps