Search Gradle plugins

Version 1.0.2

1.0.2

Created 10 August 2021.

A plugin to set version based on git info

Using the plugins DSL:

plugins {
  id("com.github.arcticlampyrid.gradle-git-version") version "1.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.arcticlampyrid:gradle-git-version:1.0.2")
  }
}

apply(plugin = "com.github.arcticlampyrid.gradle-git-version")

Using the plugins DSL:

plugins {
  id "com.github.arcticlampyrid.gradle-git-version" version "1.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.arcticlampyrid:gradle-git-version:1.0.2"
  }
}

apply plugin: "com.github.arcticlampyrid.gradle-git-version"

Learn how to apply plugins to subprojects