Search Gradle plugins

org.dvaske.gradle.git-build-info

Adds git information to the gradle project when building

https://github.com/dvaske/git-build-info

Version 0.7

Created 18 May 2018.

Adds git information to the gradle project when building

Using the plugins DSL:

plugins {
  id "org.dvaske.gradle.git-build-info" version "0.7"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.dvaske.gradle:git-build-info:0.7"
  }
}

apply plugin: "org.dvaske.gradle.git-build-info"

Using the plugins DSL:

plugins {
  id("org.dvaske.gradle.git-build-info") version "0.7"
}

Using legacy plugin application:

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

apply(plugin = "org.dvaske.gradle.git-build-info")

Learn how to apply plugins to subprojects