Search Gradle plugins

Version 1.0.5-2-gcdf8c9b

1.0.5-2-gcdf8c9b

Created 29 September 2018.

Sets project version based on git tags

Using the plugins DSL:

plugins {
  id("ch.avelon.git-version-gradle-plugin") version "1.0.5-2-gcdf8c9b"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "ch.avelon.git-version-gradle-plugin" version "1.0.5-2-gcdf8c9b"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects