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.2.2 (latest)

1.2.2

Created 30 November 2020.

Lightweight plugin to get specified (or current) git branch information

Using the plugins DSL:

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

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects