Building custom plugin without internet

Hi All

i am trying to build a custom plugin where there is no internet. how to refrence the dependencies in build.gradle file? i am not able find any refrence in the documentation,

do you have any sample build.gradle file for no internet access?

I think build.gradle can reference local class paths & files. So I imagine you would make all the classes available on the local file system and then modify build.gradle to suit.

This is from the Gradle docs, which covers local file system dependencies:

https://docs.gradle.org/current/userguide/declaring_dependencies.html#sub:file_dependencies

Interested to know why you need to build the plugin offline though?

1 Like

Thank you @Ollie_Phillips one of the customer dont have internet access from their Linux instances, From their windows env, Gradle is not approved software to download,

Just a thought @rmartha, Docker might be an option on Windows? Gradle versioned images are available.