Search Gradle plugins

Version 0.17.1 (latest)

0.17.1

Created 24 February 2023.

Gradle versioning based on git history.Note, version 0.16.0 is the last version published with the ID org.dmfs.gitversion.Subsequent versions will be published as org.dmfs.gver.

Using the plugins DSL:

plugins {
  id("org.dmfs.gitversion") version "0.17.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.dmfs:gradle-plugin:0.17.1")
  }
}

apply(plugin = "org.dmfs.gitversion")

Using the plugins DSL:

plugins {
  id "org.dmfs.gitversion" version "0.17.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.dmfs:gradle-plugin:0.17.1"
  }
}

apply plugin: "org.dmfs.gitversion"

Learn how to apply plugins to subprojects