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

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

Version 1.6.7 (latest)

Created 26 January 2022.

Automatically version a project based on commit messages and semantic versioning principles

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.toolebox.git-versioner:io.toolebox.git-versioner.gradle.plugin:1.6.7")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.toolebox.git-versioner")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.toolebox.git-versioner:io.toolebox.git-versioner.gradle.plugin:1.6.7")
      }
    }
    
    apply(plugin = "io.toolebox.git-versioner")
  • Applying plugins to all subprojects .