Gradle - Private packages
If your repo is using private packages, Aikido needs access to the private package repositories in order to create a Gradle lockfile or to update your Gradle dependencies. You can configure environment variables in Aikido to authenticate to the private package respositories.
Configuration in Aikido
You can configure Aikido to authenticate with your private registry by following the steps below:
Go to your account's settings page for AutoFix in Aikido.
Click on “Connect Registry”, the configuration modal will now be shown.
Select the “Custom” section.
Add the environment variables required for your build file as your identifier for where your private registry is stored. All env variables that contain GRADLE are allowed.
Make sure these environment variables match your
build.gradlefileClick “Apply Changes” to save the configuration.
Aikido will now use these environment variables when creating Gradle lockfiles or updating your Gradle dependencies.
Last updated
Was this helpful?