Search Gradle plugins

Version 2.2.1 (latest)

2.2.1

Created 15 June 2020.

Gradle plugin to automatically generate Android versionName and versionCode using Git.

Using the plugins DSL:

plugins {
  id("eu.nanogiants.android-versioning") version "2.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("eu.nanogiants:android-versioning:2.2.1")
  }
}

apply(plugin = "eu.nanogiants.android-versioning")

Using the plugins DSL:

plugins {
  id "eu.nanogiants.android-versioning" version "2.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "eu.nanogiants:android-versioning:2.2.1"
  }
}

apply plugin: "eu.nanogiants.android-versioning"

Learn how to apply plugins to subprojects