I’m using Gradle 1.6 and would like to deploy our application to our internal jenkins server. It’s sitting behind firewall and cannot connect to the Internet. We have a proxy server but it’s NTLM and repo.maven.org is blocked by default and it’s really hard getting that unblocked. It could take months but we need to deploy our application as soon as possible. So, I’m thinking of plan B. Developer machine can access to the Internet and download all the dependencies. How can I migrate .gradle folder from developer machine to jenkins server and run the build without Internet access?
I try this build from my machine
gradle build -g /tmp/lib
And I move /tmp/lib to jenkins machine just to test and run this command
gradle build test -g /tmp/lib --offline
But it’s still looking for dependencies from the Internet. Is there anyway I could export the whole dependencies and move that to another machine?