io.github.dwarfley.version-companion
Owner: Niklas Johansson
The version companion plugin automatically detects the current version of the project based on git tags.
https://github.com/Dwarfley/GradleVersionCompanion
Sources: https://github.com/Dwarfley/GradleVersionCompanion
Version 0.1.3 (latest)
Created 24 December 2023.
The version companion plugin automatically detects the current version of the project based on git tags.
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.dwarfley.version-companion") version "0.1.3"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("io.github.dwarfley.version-companion:io.github.dwarfley.version-companion.gradle.plugin:0.1.3") }
It can then be applied in the precompiled script plugin:plugins { id("io.github.dwarfley.version-companion") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.dwarfley.version-companion:io.github.dwarfley.version-companion.gradle.plugin:0.1.3") } } apply(plugin = "io.github.dwarfley.version-companion")
- Applying plugins to all subprojects .