HPE Morpheus Enterprise
1850752 Members
2919 Online
104055 Solutions
New Discussion

Re: 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
HPE Pro

Re: Building custom plugin without internet

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



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Ollie-Phillips
HPE Pro

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?



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo