Search Gradle plugins

to.wetransform.semantic-release-version

Gradle plugin that determines the current version from a file with the last release version and information from Git. Intended to be used with semantic-release.

https://github.com/wetransform-os/gradle-semantic-release-version

Sources: https://github.com/wetransform-os/gradle-semantic-release-version

Version 2.1.2 (latest)

Created 05 September 2024.

Gradle plugin that determines the current release or SNAPSHOT version from Git based on existing tags. Intended to be used with semantic-release.

Add this plugin to your build using the plugins DSL:

plugins {
  id("to.wetransform.semantic-release-version") version "2.1.2"
}

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