Search Gradle plugins

io.github.andreabrighi.android-git-sensitive-semantic-versioning

A Gradle plugin that forces semantic versioning in an Android project (version name and version code) and relies on git to detect the project state, based on Git-Sensitive Semantic Versioning Plugin by Danilo Pianini.

https://github.com/AndreaBrighi/Gradle-Git-Sensitive-Semantic-Versioning-Plugin-for-Android

Sources: https://github.com/AndreaBrighi/Gradle-Git-Sensitive-Semantic-Versioning-Plugin-for-Android.git

Version 3.0.16 (latest)

Created 21 December 2024.

A Gradle plugin that forces semantic versioning in an Android project (version name and version code) and relies on git to detect the project state, based on Git-Sensitive Semantic Versioning Plugin by Danilo Pianini.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.andreabrighi.android-git-sensitive-semantic-versioning") version "3.0.16"
}

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("io.github.andreabrighi.android-git-sensitive-semantic-versioning:io.github.andreabrighi.android-git-sensitive-semantic-versioning.gradle.plugin:3.0.16")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.andreabrighi.android-git-sensitive-semantic-versioning")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.andreabrighi.android-git-sensitive-semantic-versioning:io.github.andreabrighi.android-git-sensitive-semantic-versioning.gradle.plugin:3.0.16")
      }
    }
    
    apply(plugin = "io.github.andreabrighi.android-git-sensitive-semantic-versioning")
  • Applying plugins to all subprojects .