Search Gradle plugins

com.bisiach.gradle.plugins.gitversion

Makes available all GitVersion properties to the gradle build (i.e. GitVersion.SemVer). Run task GitVersion for a list of all properties. Requires GitVersion installed

https://dev.azure.com/bisiach/gradle-gitversion

Version 1.1.1 (latest)

Created 15 February 2021.

Makes available all GitVersion properties to the gradle build (i.e. GitVersion.SemVer). Run task GitVersion for a list of all properties. Requires GitVersion installed

Using the plugins DSL:

plugins {
  id "com.bisiach.gradle.plugins.gitversion" version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.bisiach:gradle-gitversion-plugin:1.1.1"
  }
}

apply plugin: "com.bisiach.gradle.plugins.gitversion"

Using the plugins DSL:

plugins {
  id("com.bisiach.gradle.plugins.gitversion") version "1.1.1"
}

Using legacy plugin application:

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

apply(plugin = "com.bisiach.gradle.plugins.gitversion")

Learn how to apply plugins to subprojects