Search Gradle plugins

Version 0.0.1-SNAPSHOT

0.0.1-SNAPSHOT

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-SNAPSHOT"
}

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-SNAPSHOT")
  }
}

apply(plugin = "ds2.gitinfo")

Using the plugins DSL:

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

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-SNAPSHOT"
  }
}

apply plugin: "ds2.gitinfo"

Learn how to apply plugins to subprojects