Search Gradle plugins

Version 1.1.0 (latest)

1.1.0

Created 05 October 2018.

Sets project version based on git tags

Using the plugins DSL:

plugins {
  id("ch.avelon.git-version-gradle-plugin") version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ch.avelon:git-version-gradle-plugin:1.1.0")
  }
}

apply(plugin = "ch.avelon.git-version-gradle-plugin")

Using the plugins DSL:

plugins {
  id "ch.avelon.git-version-gradle-plugin" version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ch.avelon:git-version-gradle-plugin:1.1.0"
  }
}

apply plugin: "ch.avelon.git-version-gradle-plugin"

Learn how to apply plugins to subprojects