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.1.0 (latest)

Created 23 November 2020.

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

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("de.otto.find.project-version:de.otto.find.project-version.gradle.plugin:1.1.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("de.otto.find.project-version")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("de.otto.find.project-version:de.otto.find.project-version.gradle.plugin:1.1.0")
      }
    }
    
    apply(plugin = "de.otto.find.project-version")
  • Applying plugins to all subprojects .