Search Gradle plugins

Version 0.6 (latest)

0.6

Created 12 May 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 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 = uri("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 "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