io.github.andreabrighi.android-git-sensitive-semantic-versioning-gradle-plugin
Owner: Andrea Brighi
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.15
Created 21 December 2024.
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.andreabrighi.android-git-sensitive-semantic-versioning-gradle-plugin") version "3.0.15"
}
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-gradle-plugin:io.github.andreabrighi.android-git-sensitive-semantic-versioning-gradle-plugin.gradle.plugin:3.0.15") }
It can then be applied in the precompiled script plugin:plugins { id("io.github.andreabrighi.android-git-sensitive-semantic-versioning-gradle-plugin") }
-
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-gradle-plugin:io.github.andreabrighi.android-git-sensitive-semantic-versioning-gradle-plugin.gradle.plugin:3.0.15") } } apply(plugin = "io.github.andreabrighi.android-git-sensitive-semantic-versioning-gradle-plugin")
- Applying plugins to all subprojects .