- [Windows] Download Portable Git from: http://code.google.com/p/msysgit/downloads/list?can=3
- Follow instructions here: http://help.github.com/win-set-up-git/
- Using git-bash: export http_proxy=http://proxyuser:passwd@proxy:port
- Setup /h/.ssh/config as per: http://stackoverflow.com/questions/5103083/problem-of-testing-ssh-in-git-behind-proxy-on-window-7
ProxyCommand /c/dev/opt/git/bin/connect.exe -H proxy:port %h %p Host github.com User git Port 22 Hostname github.com IdentityFile "/<userhome>/.ssh/id_rsa" TCPKeepAlive yes PreferredAuthentications publickey IdentitiesOnly yes Host ssh.github.com User git Port 443 Hostname ssh.github.com IdentityFile "/<userhome>/.ssh/id_rsa" TCPKeepAlive yes PreferredAuthentications publickey IdentitiesOnly yes
- git clone https://mattcallanan@github.com/mattcallanan/gradle.git gradle
- Provide proxy password
- Add the following to <project-dir>/gradle.properties:
systemProp.http.proxyHost=proxy
systemProp.http.proxyPort=port
systemProp.http.proxyUser=username
systemProp.http.proxyPassword=password
systemProp.http.nonProxyHosts=myrepo|localhost - If you have a hosted Maven repo, change gradle/build.gradle:
ivy { // artifactPattern('http://repo.jfrog.org/artifactory/gradle-plugins-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]') artifactPattern('http://myrepo/content/repositories/public/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]') ... }
- [OPTIONAL] Proxy settings for For Ivy (not sure if this is necessary):
- set ANT_OPTS=-Dhttp.proxyHost=proxy -Dhttp.proxyPort=port -Dhttp.proxyUserName=username -Dhttp.proxyPassword=password -Dhttps.proxyHost=proxy -Dhttps.proxyPort=port
- It seems minlog is in between com.esotericsoftware and com.googlecode, i.e. it’s moved but there’s still some old dependencies on esotericsoftware. Download com.esotericsoftware:minlog:1.2 jar and pom, upload to your Maven repo, add repositories
repositories { ... mavenCentral() mavenRepo(url: 'http://myrepo/content/repositories/public') ... }
Still working through some dependency issues attempting to build Gradle…