ru.bondarmih.contractVersion
Owner: Michael Bondar
Infer a project's version from your Git repository
Sources: https://github.com/bondarmih/version-plugin.git
Version 0.13.0 (latest)
Created 06 February 2020.
Infer a project's version from your Git repository
Add this plugin to your build using the plugins DSL:
plugins {
id("ru.bondarmih.contractVersion") version "0.13.0"
}
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("ru.bondarmih.contractVersion:ru.bondarmih.contractVersion.gradle.plugin:0.13.0") }
It can then be applied in the precompiled script plugin:plugins { id("ru.bondarmih.contractVersion") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("ru.bondarmih.contractVersion:ru.bondarmih.contractVersion.gradle.plugin:0.13.0") } } apply(plugin = "ru.bondarmih.contractVersion")
- Applying plugins to all subprojects .