HPE Morpheus Enterprise
1834908 Members
3081 Online
110071 Solutions
New Discussion

Building custom plugin without internet

 
rajmartha
Regular Advisor

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?

3 REPLIES 3
rajmartha
Regular Advisor

Re: Building custom plugin without internet

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,

Ollie-Phillips
Trusted Contributor

Re: Building custom plugin without internet

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

Ollie-Phillips
Trusted Contributor

Re: Building custom plugin without internet

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?