-
Notifications
You must be signed in to change notification settings - Fork 742
Subpage for Custom Repository setup #9887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Subpage for Custom Repository setup #9887
Conversation
|
||
## 2. Configuring the repository | ||
|
||
Create a folder containing a flattened list of all the project dependencies. Make sure you store this on your local system where Studio Pro has read/write access to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate on this? What does "flattened list" mean? How do I determine the project dependencies? Where do I download them? This could also use an example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a tip: let studio pro download this for you and copy the vendorlib folder
- Input the following settings into the text area field that will appear once your enable the above option | ||
```gradle | ||
flatDir { | ||
dirs '../libs' // This is the path to the project level dependencies. It is recommended to use absolute paths. But relative path can also be used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the example to an absolute path if that is recommended
For scenarios where you have absolutely no access to the internet(air-gapped), you can create a folder on your local system which will contain all the project dependencies. Then you can configure Studio Pro to resolve dependencies from this folder. | ||
|
||
### Downloading M2 repository | ||
We use [CycloneDx Gradle Plugin](https://github.com/CycloneDX/cyclonedx-gradle-plugin) to generate the `vendorlib-sbom.json` file. This is for Compliance and Security requirements. You will have to create a `m2` (Maven) style directory which will contain this plugin. You can download it from the [Mendix GitHub repo](broken-link) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link to Mendix GitHub is missing
Extend the Managed Dependencies page. A new subpage that will help air-gapped/proxied customers to setup a custom repo on their local setup