Search Gradle plugins

de.seewes.git.version

Simple Plugin to set gradle version by git tag or branch name.

http://www.seewes.de/

Sources: https://github.com/blaueled/git-version

Version 0.3 (latest)

Created 13 November 2019.

Simple Plugin to set gradle version by git tag or branch name.

Using the plugins DSL:

plugins {
  id("de.seewes.git.version") version "0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.de.seewes.git.version:de.seewes.git.version.gradle.plugin:0.3")
  }
}

apply(plugin = "de.seewes.git.version")

Using the plugins DSL:

plugins {
  id "de.seewes.git.version" version "0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.de.seewes.git.version:de.seewes.git.version.gradle.plugin:0.3"
  }
}

apply plugin: "de.seewes.git.version"

Learn how to apply plugins to subprojects