Extension closure to pass parameters from the build script to the plugin Example: build.gradle: versioner{ snapshot = true }
| Type | Name and description |
|---|---|
java.lang.String |
branchEnvNameSet to the environment Key that contains the branch name. |
java.lang.String |
commonHotfixBranchThe branch name of the common hotfix branch. |
boolean |
disableHotfixVersioningThis option is available because ios apps uploaded to the apple store require exactly 3 digit version numbers. |
boolean |
disabledSet to true to skip setting the version |
boolean |
omitBranchMetadataSet to true if you want to ommit all branch meta-data and only output digits. |
boolean |
omitBranchMetadataOnSolidBranchSet to true if you want to omit the branch meta-data and only output digits for solidBranches |
boolean |
snapshotSet to true to generate a snapshot version |
java.lang.String |
solidBranchRegexThe regex used to match branch names which determines which branches get a non-zero major and minor versions |
| 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() |
Set to the environment Key that contains the branch name. This is ONLY required for build systems other than jenkins and travis
The branch name of the common hotfix branch. Its the name of the branh that you fork from when you create a hotfix. Currently defaults to 'master'
This option is available because ios apps uploaded to the apple store require exactly 3 digit version numbers. So having a 4th hotfix value will prevent successful submissions.
Set to true to skip setting the version
Set to true if you want to ommit all branch meta-data and only output digits.
Set to true if you want to omit the branch meta-data and only output digits for solidBranches
Set to true to generate a snapshot version
The regex used to match branch names which determines which branches get a non-zero major and minor versions