[ 
https://issues.apache.org/jira/browse/CB-9140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14580743#comment-14580743
 ] 

John Little commented on CB-9140:
---------------------------------

I am building on Windows 8.1, I have a .gradle directory in my home directory, 
I also have on in the build directory for my cordova project.
I have tried putting a gradle.properties in both these directories. I have also 
tried putting them in the version specific ones, i.e. .gradle/2.2.1
None if this made any difference.
I then modified the code that creates the gradle wrapper file and added -D 
parameters to the java task thats run, just incase the gradle.properties files 
was being ignored.
Again the proxy was ignored.
Any help/suggestions would be greatfully recieved :D

> Unable to build android 4.0.x when behind a proxy
> -------------------------------------------------
>
>                 Key: CB-9140
>                 URL: https://issues.apache.org/jira/browse/CB-9140
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>    Affects Versions: 4.0.0
>         Environment: windows 8.1, Cordova 5.0.0 Node.js 0.12.4, npm 2.10.1, 
>            Reporter: John Little
>            Assignee: Joe Bowser
>
> My development enviroment is behind a proxy. I have npm and git configured to 
> use the proxy. However I have been unable to configure gradle to work, I have 
> created a gradle-wrapper.properties file and set the http.proxyHost and 
> http.proxyPort correctly, with no luck.
> I have even changed the script that produces the gradle build files to add 
> the parameters to the java command line, still with no luck.
> I was able to manualy download the gradle-2.2.1-all.zip and get the buld 
> files to use that file (rather than try to download it). Unfortunatly it then 
> tried to download other maven files.
> The gradle documentation seems to suggest that it should work with a proxy 
> but I had to give up and go back to android 3.7.2 which does build using ant.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to