Search Gradle plugins

ch.ergon.gradle.goodies.versioning

Simple and automatic versioning from your git history for your java and android projects.

https://github.com/kungfoo/ergon-gradle-goodies-versioning

Version 0.0.0-21-g97656ba (latest)

Created 18 April 2018.

Simple and automatic versioning from your git history for your java and android projects.

Using the plugins DSL:

plugins {
  id "ch.ergon.gradle.goodies.versioning" version "0.0.0-21-g97656ba"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.ch.ergon:ergon-gradle-goodies-versioning:0.0.0-21-g97656ba"
  }
}

apply plugin: "ch.ergon.gradle.goodies.versioning"

Using the plugins DSL:

plugins {
  id("ch.ergon.gradle.goodies.versioning") version "0.0.0-21-g97656ba"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.ch.ergon:ergon-gradle-goodies-versioning:0.0.0-21-g97656ba")
  }
}

apply(plugin = "ch.ergon.gradle.goodies.versioning")

Learn how to apply plugins to subprojects