Search Gradle plugins

de.otto.find.project-version

Owner: FT Find

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

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

Version 1.0.1-SNAPSHOT

1.0.1-SNAPSHOT

Created 23 November 2020.

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 "1.0.1-SNAPSHOT"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects