I am trying to run gradle command line (1.4 version) to build the war project. I am behind a http proxy server. So, I setup a gradle.properties file in the .gradle directory of my project (I have also tried to place the file in the project home directory. Still, I cannot download the dependencies. Here is the content of the file:
systemProp.http.proxyHost=host ip systemProp.http.proxyPort=host port systemProp.http.proxyUser=user
I have two questions:
What am I doing wrong when I setup the proxy settings?
If somehow this method works, is there a way to not type the user and password and have gradle take it from windows (the way maven 3.x does - setings.xml specifies constants: WINDOWS USER, PASSWORD so a user does not hard code the security info)?
By the way, I have tried with maven and it works - it can download the dependencies.