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

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

Version 1.3.1 (latest)

1.3.1

Created 16 April 2023.

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.3.1"
}

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.3.1")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects