repository management features.Read Less >
To publish Gradle-built artifacts to JFrog Artifactory, you need to use the JFrog Gradle Plugin. First, you’ll need to add the plugin to your build.gradle
file and configure it with your Artifactory server details. Once configured, you can use Gradle tasks like artifactoryPublish
to automatically upload your artifacts to the designated repository in Artifactory after the build process completes.
JFrog Xray enhances Gradle builds by providing security and license compliance scanning for the artifacts that are produced. It analyzes both direct and transitive dependencies of your Gradle projects and identifies any vulnerabilities or license issues. This helps developers ensure that only secure and compliant components are included in their applications, mitigating security risks and adhering to legal requirements.
Yes, you can use JFrog Artifactory as a remote repository for Gradle dependencies. By configuring your Gradle build script to resolve dependencies from Artifactory, you can proxy external repositories such as Maven Central or npm and cache the retrieved artifacts. This improves build reliability and speeds up builds by reducing external calls and providing local access to frequently used dependencies.
JFrog Artifactory can manage a variety of artifact types generated from Gradle projects, including: