Search Gradle plugins

com.aardouin.gradle.AndroidBuildNumberPlugin

Adds possibility to add build number to a provided version nam in the form of "v1.0(buildNumber)"

http://github.com/aardouin/AndroidBuildNumberPlugin/

Sources: http://github.com/aardouin/AndroidBuildNumberPlugin/

Version 1.1-SNAPSHOT (latest)

Created 21 January 2016.

Adds possibility to add build number to a provided version nam in the form of "v1.0(buildNumber)"

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.aardouin.gradle.AndroidBuildNumberPlugin") version "1.1-SNAPSHOT"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.aardouin.gradle.AndroidBuildNumberPlugin:com.aardouin.gradle.AndroidBuildNumberPlugin.gradle.plugin:1.1-SNAPSHOT")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.aardouin.gradle.AndroidBuildNumberPlugin")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.aardouin.gradle.AndroidBuildNumberPlugin:com.aardouin.gradle.AndroidBuildNumberPlugin.gradle.plugin:1.1-SNAPSHOT")
      }
    }
    
    apply(plugin = "com.aardouin.gradle.AndroidBuildNumberPlugin")
  • Applying plugins to all subprojects .