Search Gradle plugins

lazy.zoo.gradle.git-data-plugin

Lightweight plugin to get current git branch information and help with project versioning based on it

https://github.com/sergii-kuku/gradle-git-plugin

Sources: https://github.com/sergii-kuku/gradle-git-plugin.git

Version 1.0.0

Created 31 January 2020.

Lightweight plugin to get current git branch information and help with project versioning based on it

Using the plugins DSL:

plugins {
  id("lazy.zoo.gradle.git-data-plugin") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.lazy.zoo.gradle:git-data-plugin:1.0.0")
  }
}

apply(plugin = "lazy.zoo.gradle.git-data-plugin")

Using the plugins DSL:

plugins {
  id "lazy.zoo.gradle.git-data-plugin" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.lazy.zoo.gradle:git-data-plugin:1.0.0"
  }
}

apply plugin: "lazy.zoo.gradle.git-data-plugin"

Learn how to apply plugins to subprojects