Search Gradle plugins

Version 0.1.5 (latest)

0.1.5

Created 03 June 2020.

Plugin allows to read revision-related information from Git

Using the plugins DSL:

plugins {
  id("com.github.knifemaster007.git-version") version "0.1.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.knifemaster007.git-version:git-version:0.1.5")
  }
}

apply(plugin = "com.github.knifemaster007.git-version")

Using the plugins DSL:

plugins {
  id "com.github.knifemaster007.git-version" version "0.1.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.knifemaster007.git-version:git-version:0.1.5"
  }
}

apply plugin: "com.github.knifemaster007.git-version"

Learn how to apply plugins to subprojects