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 3.0.0 (latest)

Created 08 April 2020.

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 "3.0.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects