Search Gradle plugins

com.xenoterracide.gradle.semver

A semantic versioning plugin that derives the version from git tags and commits and is configuration cache safe.

https://github.com/xenoterracide/gradle-semver

Sources: https://github.com/xenoterracide/gradle-semver.git

Version 0.11.5 (latest)

Created 05 December 2024.

A semantic versioning plugin that derives the version from git tags and commits and is configuration cache safe.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.xenoterracide.gradle.semver") version "0.11.5"
}

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("com.xenoterracide.gradle.semver:com.xenoterracide.gradle.semver.gradle.plugin:0.11.5")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.xenoterracide.gradle.semver")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.xenoterracide.gradle.semver:com.xenoterracide.gradle.semver.gradle.plugin:0.11.5")
      }
    }
    
    apply(plugin = "com.xenoterracide.gradle.semver")
  • Applying plugins to all subprojects .