Search Gradle plugins

Version 2.4.0 (latest)

2.4.0

Created 10 July 2020.

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

Using the plugins DSL:

plugins {
  id("de.nanogiants.android-versioning") version "2.4.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "de.nanogiants.android-versioning" version "2.4.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects