Search Gradle plugins

Version 0.1.1

0.1.1

Created 04 February 2020.

Plugin allows to read revision-related information from Git

Using the plugins DSL:

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

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.1")
  }
}

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

Using the plugins DSL:

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

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.1"
  }
}

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

Learn how to apply plugins to subprojects