Search Gradle plugins

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

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.9

3.0.9

Created 17 August 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-gradle-plugin") version "3.0.9"
}

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.9")
  }
}

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

Using the plugins DSL:

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

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.9"
  }
}

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

Learn how to apply plugins to subprojects