Search Gradle plugins

Version 2.0.2-dev07-089da42

Created 03 November 2023.

A Gradle plugin that forces semantic versioning and relies on git to detect the project state

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.danilopianini.git-sensitive-semantic-versioning-gradle-plugin") version "2.0.2-dev07-089da42"
}

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