Search Gradle plugins

com.cinnober.gradle.semver-git

Gradle plugin that combines git tags and semantic versioning, and sets the gradle version property accordingly.

https://github.com/cinnober/semver-git

Version 2.4.0 (latest)

Created 14 January 2019.

Gradle plugin that combines git tags and semantic versioning, and sets the gradle version property accordingly.

Using the plugins DSL:

plugins {
  id "com.cinnober.gradle.semver-git" version "2.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.cinnober.gradle:semver-git:2.4.0"
  }
}

apply plugin: "com.cinnober.gradle.semver-git"

Using the plugins DSL:

plugins {
  id("com.cinnober.gradle.semver-git") version "2.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.cinnober.gradle:semver-git:2.4.0")
  }
}

apply(plugin = "com.cinnober.gradle.semver-git")

Learn how to apply plugins to subprojects