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.13 (latest)

3.0.13

Created 23 November 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.

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.andreabrighi:android-git-sensitive-semantic-versioning-gradle-plugin:3.0.13")
  }
}

apply(plugin = "io.github.andreabrighi.android-git-sensitive-semantic-versioning")

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.andreabrighi:android-git-sensitive-semantic-versioning-gradle-plugin:3.0.13"
  }
}

apply plugin: "io.github.andreabrighi.android-git-sensitive-semantic-versioning"

Learn how to apply plugins to subprojects