Search Gradle plugins

Version 2.0.1 (latest)

2.0.1

Created 26 January 2024.

Reckons the project version based on Git tags

Using the plugins DSL:

plugins {
  id("org.deltafi.git-version") version "2.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.deltafi.git-version:git-version:2.0.1")
  }
}

apply(plugin = "org.deltafi.git-version")

Using the plugins DSL:

plugins {
  id "org.deltafi.git-version" version "2.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.deltafi.git-version:git-version:2.0.1"
  }
}

apply plugin: "org.deltafi.git-version"

Learn how to apply plugins to subprojects