Configure your Java build tool to use the Lightwell Network repository
Configure your Java build tool to resolve dependencies through the Lightwell Network repository by adding the repository to your existing build configuration.
Before you begin
- You have an active Lightwell Network membership.
- You have created a Lightwell Network service account. For more information, see Create a Lightwell Network service account
- You have chosen the repository tier that matches your environment. For more information, see Choose the right repository for your environment.
- You have one of the following Java build tools configured:
- Apache Maven
- Gradle
About this task
Select the configuration method that matches your build tool.
Procedure
What to do next
- Run a build to confirm that dependencies resolve through the Lightwell Network repository:
For maven, run the following command:
$ mvn dependency:resolveFor Gradle, run the following command:
$ gradle dependencies - Verify that the build output shows artifacts resolving from the Lightwell Network repository URL.
- If you are using the Remediated repository, add a remediated dependency to your project and verify that the resolved artifact includes the
.rhlw-0000Xversion suffix, for example,5.3.17.rhlw-00001.