[GRADLE-420] gradlew and HTTP proxy Created: 09/Mar/09  Updated: 04/Jan/13  Resolved: 08/Apr/09

Status: Resolved
Project: Gradle
Affects Version/s: 0.5.2
Fix Version/s: 0.6

Type: Improvement
Reporter: Peter Niederwieser Assignee: Hans Dockter
Resolution: Won't Fix Votes: 1


 Description   

Is it possible to set a HTTP proxy for gradlew? Maybe I could pass along a system property like http.proxyHost?



 Comments   
Comment by Hans Dockter [ 07/Apr/09 ]

Sorry for taking so long to have a look at this. In fact there is the GRADLE_OPTS environment variable which is passed to the JVM. This variable is used for the gradlw wrapper scripts as well as for the gradle start scripts. At the beginning of those scripts there is a line setting this variable, which is commented out. Or you can set it globally of course.

Please tell me if this works out for you.

Comment by Peter Niederwieser [ 07/Apr/09 ]

I can't test this anymore because I'm no longer behind an HTTP proxy. But I'm fairly confident that setting http.proxyHost via GRADLE_OPTS will do the trick.

Comment by Hans Dockter [ 08/Apr/09 ]

GRADLE_OPTS should do the trick. If not, please reopen the issue.

Generated at Wed Jun 30 11:29:39 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.