Artifactory Gradle Plugin
Overview
The Gradle Artifactory Plugin provides tight integration with Gradle. All that is needed is a simple modification of your build.gradle
script file with a few configuration parameters, and you can deploy your build artifacts and build information to Artifactory.
The plugin adds the artifactoryPublish
task for each project, in the publishing
group. The task performs the following actions on the project and its submodules:
Extracting the build-info file located in the root project. This file contains comprehensive information about the build, such as its configuration, dependencies, and other relevant details.
Deploying both the generated artifacts and the build-info file to your Artifactory repository. This ensures that the artifacts, which are the output of the build process, and the accompanying build-info file are stored and organized in your Artifactory repository for easy access and management.
NOTE: The minimum supported Gradle version to use this plugin is v6.9
📦 Installation
🚀 Usage
To deploy the project artifacts and build info to Artifactory, execute the following Gradle task
💡 Examples
The following are links to the build scripts of different types of projects that are configured to use the plugin.
Multi Modules Project (Groovy)
Sample project that uses the Gradle Artifactory Plugin with Gradle Publications.
Multi Modules Project (Kotlin)
Sample project that configures the Gradle Artifactory Plugin with the Gradle Kotlin DSL.
We highly recommend also using our gradle project examples as a reference when configuring your build scripts.
🐞 Reporting Issues
We highly recommend running Gradle with the -d
option to get useful and readable debug information if something goes wrong with your build.
Please help us improve the plugin by reporting any issues you encounter.
🫱🏻🫲🏼 Contributions
We welcome pull requests from the community. To help us improve this project, please read our Contribution guide.
Last updated