Search Gradle plugins

Version 1.1.4-dev08-4a7ad44

Created 16 March 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 "1.1.4-dev08-4a7ad44"
}

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:1.1.4-dev08-4a7ad44")
    }
    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:1.1.4-dev08-4a7ad44")
      }
    }
    
    apply(plugin = "org.danilopianini.git-sensitive-semantic-versioning-gradle-plugin")
  • Applying plugins to all subprojects .