Search Gradle plugins

io.toolebox.git-versioner

A Gradle plugin to automatically version a project based on commit messages and semantic versioning principles

https://github.com/toolebox-io/gradle-git-versioner

Version 1.1.1 (latest)

Created 09 September 2018.

A Gradle plugin to automatically version a project based on commit messages and semantic versioning principles

Using the plugins DSL:

plugins {
  id "io.toolebox.git-versioner" version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.io.toolebox:gradle-git-versioner:1.1.1"
  }
}

apply plugin: "io.toolebox.git-versioner"

Using the plugins DSL:

plugins {
  id("io.toolebox.git-versioner") version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.io.toolebox:gradle-git-versioner:1.1.1")
  }
}

apply(plugin = "io.toolebox.git-versioner")

Learn how to apply plugins to subprojects