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

Using the plugins DSL:

plugins {
  id("org.ai2fit.gradle.versioning-plugin") version "2.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.ai2fit.gradle:versioning-plugin:2.0.2")
  }
}

apply(plugin = "org.ai2fit.gradle.versioning-plugin")

Using the plugins DSL:

plugins {
  id "org.ai2fit.gradle.versioning-plugin" version "2.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.ai2fit.gradle:versioning-plugin:2.0.2"
  }
}

apply plugin: "org.ai2fit.gradle.versioning-plugin"

Learn how to apply plugins to subprojects