Search Gradle plugins

Version 0.2.1 (latest)

Created 01 December 2021.

This extension will adjust the project version based on current git timestamp.

Using the plugins DSL:

plugins {
  id "de.stefan-oltmann.git-versioning" version "0.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.stefan-oltmann:gradle-git-versioning-plugin:0.2.1"
  }
}

apply plugin: "de.stefan-oltmann.git-versioning"

Using the plugins DSL:

plugins {
  id("de.stefan-oltmann.git-versioning") version "0.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.stefan-oltmann:gradle-git-versioning-plugin:0.2.1")
  }
}

apply(plugin = "de.stefan-oltmann.git-versioning")

Learn how to apply plugins to subprojects