ihub-version
...Less than 1 minute
ihub-version
plugin description
ihub-version
plugin is version plugin, integrated and strengthened third party version plugin to set project version.
Information | Description |
---|---|
Plugin ID | pub.ihub.plugin.ihub-version |
Plugin Name | Version Plugin |
Plugin Type | Project [^Project] |
Extension Name | iHubVersion |
Plugin Dependencies | io.freeair.git-version,com.github.ben-manes.versions |
plugin functionality
- Introducing
git-version
plugin autoconfig project version,Enhanced support to infer version
- Introducing
ben-manes.versions
plugin to check component versions,enhance support for automatic replacement of the latest version
Extended Properties
Extension | Description | Default | Ext[^Ext] | Prj[^Prj] | Sys[^Sys] | Env[^Env] |
---|---|---|---|---|---|---|
autoReplaceLaterVersions | Automatically replace the latest version (versionsplugin enhancement) | false | ✔ | ✔ | ✔ | ❌ |
useInferingVersion | Using a extrapolated version number, extrapolating next version number from the latestgit tag supports tag format{major}.{minor}.{patch} orv{major}.{minor}.{patch} , extrapolation methodpatch + 1 | false | ✔ | ✔ | ✔ | ✔ |
Plugin Installation
Kotlin
plugins {
id("pub.ihub.plugin.ihub-version")
}
Groovy
plugins {
id 'pub.ihub.plugin.ihub-version'
}
Note
If base pluginihub
is installed, there is no need to install individuallyihub-version
plugin,ihub
plugin is already integratedihub-version
plugin.
Configuration Example
Kotlin
iHubVersion {
autoReplaceLaterVersions.set(true)
}
Groovy
iHubVersion {
autoReplaceLateVersions = true
}