io.github.dwarfley.versioncompanion
Owner: Niklas Johansson
Deprecated and replaced by "io.github.dwarfley.version-companion". Use the new plugin ID in your project.
https://github.com/Dwarfley/GradleVersionCompanion
Sources: https://github.com/Dwarfley/GradleVersionCompanion
Version 0.1.0
0.1.0
Created 22 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.0"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("io.github.dwarfley:gradle-version-companion:0.1.0")
}
}
apply(plugin = "io.github.dwarfley.versioncompanion")
Using the plugins DSL:
plugins {
id "io.github.dwarfley.versioncompanion" version "0.1.0"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.github.dwarfley:gradle-version-companion:0.1.0"
}
}
apply plugin: "io.github.dwarfley.versioncompanion"