Search Gradle plugins

com.gladed.androidgitversion

A gradle plugin to calculate Android-friendly version names and codes from git tags

https://github.com/gladed/gradle-android-git-version

Version 0.4.10

Created 26 August 2019.

Automatically extract Android-friendly version names and codes from git tags

Using the plugins DSL:

plugins {
  id "com.gladed.androidgitversion" version "0.4.10"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.gladed.androidgitversion:gradle-android-git-version:0.4.10"
  }
}

apply plugin: "com.gladed.androidgitversion"

Using the plugins DSL:

plugins {
  id("com.gladed.androidgitversion") version "0.4.10"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.gladed.androidgitversion:gradle-android-git-version:0.4.10")
  }
}

apply(plugin = "com.gladed.androidgitversion")

Learn how to apply plugins to subprojects