Search Gradle plugins

org.ai2fit.gradle.versioning-plugin

Owner: AI2FIT

A plugin that helps to maintain a semantic versioning of the build artifacts based on the project's git repository. It uses the current branch and the latest tag to enforce naming conventions

https://gitlab.com/ai2fit/gradle-plugins/versioning

Sources: https://gitlab.com/ai2fit/gradle-plugins/versioning.git

Version 2.0.2 (latest)

Created 16 February 2024.

A plugin that helps to maintain a semantic versioning of the build artifacts based on the project's git repository. It uses the current branch and the latest tag to enforce naming conventions

Add this plugin to your build using the plugins DSL:

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