| Constructor and description |
|---|
VersioningExtension
(org.gradle.api.Project project)Constructor |
| Type | Name and description |
|---|---|
VersionInfo |
computeInfo()Computes the version information. |
VersionInfo |
getInfo()Gets the computed version information |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Getting the version base from a branch. Default: getting the part after the first "/". If no slash is found, returns empty. For example: * release/2.0 --> 2.0 * feature/2.0 --> 2.0 * master --> ''
Getting the version type from a branch. Default: getting the part before the first "/". If no slash is found, takes the branch name as whole. For example: * release/2.0 --> release * feature/2.0 --> feature * master --> master
Computes the full version.
Set of eligible branch types for computing a display version from the branch base name
Version SCM - git by default
Constructor
project - Linked projectComputes the version information.
Gets the computed version information
Groovy Documentation