Search Gradle plugins

io.github.reactivecircus.app-versioning

Gradle plugin for lazily generating Android app's versionCode & versionName from Git tags.

https://github.com/ReactiveCircus/app-versioning

Version 1.1.2 (latest)

Created 20 April 2022.

Gradle plugin for lazily generating Android app's versionCode & versionName from Git tags.

Using the plugins DSL:

plugins {
  id "io.github.reactivecircus.app-versioning" version "1.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.reactivecircus.appversioning:app-versioning-gradle-plugin:1.1.2"
  }
}

apply plugin: "io.github.reactivecircus.app-versioning"

Using the plugins DSL:

plugins {
  id("io.github.reactivecircus.app-versioning") version "1.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.reactivecircus.appversioning:app-versioning-gradle-plugin:1.1.2")
  }
}

apply(plugin = "io.github.reactivecircus.app-versioning")

Learn how to apply plugins to subprojects