Search Gradle plugins

com.github.gmazzo.play-autoincrement

An Android-Gradle plugin to set the build version based on the last APK uploaded on PlayStore

https://github.com/gmazzo/gradle-play-autoincrement-plugin

Version 0.6 (latest)

Created 12 May 2017.

An Android-Gradle plugin to set the build version based on the last APK uploaded on PlayStore

Using the plugins DSL:

plugins {
  id "com.github.gmazzo.play-autoincrement" version "0.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.gmazzo:play-autoincrement-plugin:0.6"
  }
}

apply plugin: "com.github.gmazzo.play-autoincrement"

Using the plugins DSL:

plugins {
  id("com.github.gmazzo.play-autoincrement") version "0.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.gmazzo:play-autoincrement-plugin:0.6")
  }
}

apply(plugin = "com.github.gmazzo.play-autoincrement")

Learn how to apply plugins to subprojects