Search Gradle plugins

fr.brouillard.oss.gradle.jgitver

gradle plugin that defines automatically project version using jgitver

https://github.com/jgitver/gradle-jgitver-plugin

Version 0.10.0-rc01 (latest)

Created 16 July 2019.

gradle plugin that defines automatically project version using jgitver

Using the plugins DSL:

plugins {
  id "fr.brouillard.oss.gradle.jgitver" version "0.10.0-rc01"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "fr.brouillard.oss.gradle:gradle-jgitver-plugin:0.10.0-rc01"
  }
}

apply plugin: "fr.brouillard.oss.gradle.jgitver"

Using the plugins DSL:

plugins {
  id("fr.brouillard.oss.gradle.jgitver") version "0.10.0-rc01"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("fr.brouillard.oss.gradle:gradle-jgitver-plugin:0.10.0-rc01")
  }
}

apply(plugin = "fr.brouillard.oss.gradle.jgitver")

Learn how to apply plugins to subprojects