Search Gradle plugins

io.github.offrange.git-semantic-versioning

A Gradle plugin that automatically versions your project based on Git tags, following the Semantic Versioning 2.0 specification.

https://github.com/OffRange/git-semver-gradle-plugin

Sources: https://github.com/offrange/git-semver-gradle-plugin.git

Version 0.2.5 (latest)

0.2.5

Created 31 July 2024.

A Gradle plugin that automatically versions your project based on Git tags, following the Semantic Versioning 2.0 specification.

Using the plugins DSL:

plugins {
  id("io.github.offrange.git-semantic-versioning") version "0.2.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.offrange:git-semver-gradle-plugin:0.2.5")
  }
}

apply(plugin = "io.github.offrange.git-semantic-versioning")

Using the plugins DSL:

plugins {
  id "io.github.offrange.git-semantic-versioning" version "0.2.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.offrange:git-semver-gradle-plugin:0.2.5"
  }
}

apply plugin: "io.github.offrange.git-semantic-versioning"

Learn how to apply plugins to subprojects