Search Gradle plugins

de.otto.find.project-version

A plugin for deriving the project’s version automatically. Version may stem from git tags, timestamps or similar sources

https://github.com/otto-de/gradle-projectversion

Version 0.7.0 (latest)

Created 21 February 2019.

A plugin for deriving the project’s version automatically. Version may stem from git tags, timestamps or similar sources

Using the plugins DSL:

plugins {
  id "de.otto.find.project-version" version "0.7.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.de.otto.find:gradle-projectversion:0.7.0"
  }
}

apply plugin: "de.otto.find.project-version"

Using the plugins DSL:

plugins {
  id("de.otto.find.project-version") version "0.7.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.de.otto.find:gradle-projectversion:0.7.0")
  }
}

apply(plugin = "de.otto.find.project-version")

Learn how to apply plugins to subprojects