Search Gradle plugins

Version 0.0.1 (latest)

0.0.1

Created 19 February 2019.

A plugin to get some git information into the build

Using the plugins DSL:

plugins {
  id("ds2.gitinfo") version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.ds2.gradle.plugins.gitinfo:gradle-git-info-plugin:0.0.1")
  }
}

apply(plugin = "ds2.gitinfo")

Using the plugins DSL:

plugins {
  id "ds2.gitinfo" version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.ds2.gradle.plugins.gitinfo:gradle-git-info-plugin:0.0.1"
  }
}

apply plugin: "ds2.gitinfo"

Learn how to apply plugins to subprojects