Extension closure to pass parameters from the build script to the plugin Example: build.gradle: project.extensions.create('versioner',com.sarhanm.versioner.VersionerOptions) versioner{ snapshot = true }
| 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'
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 to generate a snapshot version
The regex used to match branch names which determines which branches get a non-zero major and minor versions