Search Gradle plugins

Version 1.10.3 (latest)

1.10.3

Created 11 May 2024.

Auto-generates project version files from Git and Gradle at compile time

Using the plugins DSL:

plugins {
  id("com.peterabeles.gversion") version "1.10.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.peterabeles.gversion:gversion-plugin:1.10.3")
  }
}

apply(plugin = "com.peterabeles.gversion")

Using the plugins DSL:

plugins {
  id "com.peterabeles.gversion" version "1.10.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.peterabeles.gversion:gversion-plugin:1.10.3"
  }
}

apply plugin: "com.peterabeles.gversion"

Learn how to apply plugins to subprojects