Search Gradle plugins

eu.davidea.grabver

An easy Gradle plugin that follows semver.org rules to automatically generate the Patch version, Build number and Code version, while Major, Minor and Pre-Release suffix remain under our control.

https://github.com/davideas/GrabVer

Sources: https://github.com/davideas/GrabVer

Version 2.0.3 (latest)

2.0.3

Created 01 August 2024.

An easy Gradle plugin that follows semver.org rules to automatically generate the Patch version, Build number and Code version, while Major, Minor and Pre-Release suffix remain under our control.

Using the plugins DSL:

plugins {
  id("eu.davidea.grabver") version "2.0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("eu.davidea:grabver:2.0.3")
  }
}

apply(plugin = "eu.davidea.grabver")

Using the plugins DSL:

plugins {
  id "eu.davidea.grabver" version "2.0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "eu.davidea:grabver:2.0.3"
  }
}

apply plugin: "eu.davidea.grabver"

Learn how to apply plugins to subprojects