Running gradle without internet connection in jumpbox

(Sridharan Kuppa) #1

We have build a custom gradle plugin with tasks for devops. This needs to be packaged into the jumpbox where we don’t have internet connection. Any suggestion?

One option is to run gradle in some box and copy the gradle’s cache folder to the jumpbox and execute the gradle command in jumpbox with offline option. But I am not sure, how reliable is this option?

Thanks, -Sridharan

(Luke Daley) #2

It’s not something that we test for, but it has worked for me in practice.

Another option is to use a flatDir repo: