Search Gradle plugins

Version 0.1.8 (latest)

0.1.8

Created 25 January 2016.

A plugin for setting project version based on Git tag and branch names

Using the plugins DSL:

plugins {
  id("com.github.kropp.teamcity-gitversion") version "0.1.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.kropp:gradle-teamcity-gitversion-plugin:0.1.8")
  }
}

apply(plugin = "com.github.kropp.teamcity-gitversion")

Using the plugins DSL:

plugins {
  id "com.github.kropp.teamcity-gitversion" version "0.1.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.kropp:gradle-teamcity-gitversion-plugin:0.1.8"
  }
}

apply plugin: "com.github.kropp.teamcity-gitversion"

Learn how to apply plugins to subprojects