Search Gradle plugins

Version 0.2.2 (latest)

0.2.2

Created 12 February 2024.

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.2"
}

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.2")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects