io.github.dwarfley.versioncompanion
Owner:
Niklas Johansson
This plugin automatically detects the current version of the project based on git tags. The plugin also provides helper tasks for printing the detected version and a list of all detected versions.
https://github.com/Dwarfley/GradleVersionCompanion
Sources: https://github.com/Dwarfley/GradleVersionCompanion
Version 0.1.1 (latest)
Created 25 February 2023.
This plugin automatically detects the current version of the project based on git tags. The plugin also provides helper tasks for printing the detected version and a list of all detected versions.
Using the plugins DSL:
plugins {
id("io.github.dwarfley.versioncompanion") version "0.1.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("io.github.dwarfley:gradle-version-companion:0.1.1")
}
}
apply(plugin = "io.github.dwarfley.versioncompanion")
Using the plugins DSL:
plugins {
id "io.github.dwarfley.versioncompanion" version "0.1.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.github.dwarfley:gradle-version-companion:0.1.1"
}
}
apply plugin: "io.github.dwarfley.versioncompanion"