Search Gradle plugins

com.sathishsr.autoVersioning

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

https://sathishsr.github.io/

Sources: https://github.com/sathishsr/sathishsr.github.io

Version 1.0.0 (latest)

1.0.0

Created 08 November 2017.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact Automatically extract Android-friendly version names and codes from git tags

Using the plugins DSL:

plugins {
  id("com.sathishsr.autoVersioning") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.sathishsr.autoVersioning:gradle-android-git-version-master:1.0.0")
  }
}

apply(plugin = "com.sathishsr.autoVersioning")

Using the plugins DSL:

plugins {
  id "com.sathishsr.autoVersioning" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.sathishsr.autoVersioning:gradle-android-git-version-master:1.0.0"
  }
}

apply plugin: "com.sathishsr.autoVersioning"

Learn how to apply plugins to subprojects