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 0.4.0

0.4.0

Created 10 September 2020.

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 "0.4.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects