Search Gradle plugins

Version 0.4.14 (latest)

0.4.14

Created 30 October 2020.

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

Using the plugins DSL:

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

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.14")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.gladed.androidgitversion"

Learn how to apply plugins to subprojects