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)

0.6.6

Created 27 June 2016.

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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.de.ploing.gradle:scmversion-gradle-plugin:0.6.6")
  }
}

apply(plugin = "de.ploing.scmversion")

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.de.ploing.gradle:scmversion-gradle-plugin:0.6.6"
  }
}

apply plugin: "de.ploing.scmversion"

Learn how to apply plugins to subprojects