Search Gradle plugins

ds2.gitinfo

Owner: Lexxy

A plugin to get some git information into the build

https://gitlab.com/ds_2/gradle-git-info-plugin

Version 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 "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 = 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")

Learn how to apply plugins to subprojects