Search Gradle plugins

de.ploing.scmversion

A Gradle plugin that exports information from the version control system to the build system

http://stefan.ploing.de/projects/scmversion-gradle-plugin/

Version 0.6.6 (latest)

Created 27 June 2016.

A Gradle plugin that exports information from the version control system to the build system

Add this plugin to your build using the plugins DSL:

plugins {
  id("de.ploing.scmversion") version "0.6.6"
}

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.ploing.scmversion:de.ploing.scmversion.gradle.plugin:0.6.6")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("de.ploing.scmversion")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("de.ploing.scmversion:de.ploing.scmversion.gradle.plugin:0.6.6")
      }
    }
    
    apply(plugin = "de.ploing.scmversion")
  • Applying plugins to all subprojects .