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.2 (latest)
0.1.2
Created 26 December 2023.
The version companion 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.2"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("io.github.dwarfley:gradle-version-companion:0.1.2")
}
}
apply(plugin = "io.github.dwarfley.versioncompanion")
Using the plugins DSL:
plugins {
id "io.github.dwarfley.versioncompanion" version "0.1.2"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.github.dwarfley:gradle-version-companion:0.1.2"
}
}
apply plugin: "io.github.dwarfley.versioncompanion"