Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width75%

Overview

The Gradle Artifactory Plugin allows you to deploy your build artifacts and build information to Artifactory and also to resolve your build dependencies from Artifactory.

Latest Version

For the latest version number of the Gradle Artifactory Plugin, please refer to the

Newtablink
Textdownload page on Bintray
URLhttps://bintray.com/jfrog/jfrog-jars/build-info-extractor-gradle
.

Download and Installation

Automatic Installation

Code Block
languagetext
titleBuild script snippet for use in all Gradle versions
buildscript {
  repositories {
    jcenter()
  }
  dependencies {
    classpath "org.jfrog.buildinfo:build-info-extractor-gradle:latest.release"
  }
}
apply plugin: "com.jfrog.artifactory"
Code Block
languagetext
titleBuild script snippet for use in Gradle 2.1 and above
plugins {
  id "com.jfrog.artifactory" version "latest.release"
}
Tip

Currently the "plugins" notation cannot be used for applying the plugin for sub projects, when used from the root build script


Column
Panel
titlePage Contents

Table of Contents
maxLevel4
minLevel2
 

Panel
titleIntegration Benefits
Newtablink
TextJFrog Artifactory and Gradle Reositories
URL
HTML
<a href="https://jfrog.com/integration/gradle/
 
" target="blank"> JFrog Artifactory and Gradle Repositories </a>

Manual Installation

The latest plugin jar file can be

Newtablink
Textdownloaded from JFrog Bintray
URLhttps://bintray.com/jfrog/jfrog-jars/build-info-extractor-gradle
.  Download and copy the build-info-extractor-gradle-<x.y.z>-uber.jar into your gradle home plugins directory ( ~/.gradle/plugins). 

...