Extension providing properties to configure the behavior of the GrgitReleasePlugin.
| Type | Name and description |
|---|---|
boolean |
enforceSinceTagsRuns task to check that all
|
groovy.lang.Closure |
generateTagMessageClosure to generate the message used when tagging releases. |
Grgit |
grgitThe repository to perform the release on. |
boolean |
prefixTagNameWithVWhether or not to prefix release tag names with a "v". |
java.lang.Iterable |
releaseTasksTasks that should be executed before the release is tagged, branched, and pushed to the remote. |
java.lang.String |
remoteThe remote to fetch from and push to. |
InferredVersion |
versionThe version class that will be set on the project by default. |
| Constructor and description |
|---|
GrgitReleasePluginExtension
(Project project) |
| Type | Name and description |
|---|---|
java.lang.String |
getTagMessage()The message to use when tagging the release. |
java.lang.String |
getTagName()Gets the tag name that will be used. |
void |
setGrgit(Grgit grgit)Sets the repository to use on both this extension and the underlying version. |
void |
version(groovy.lang.Closure closure)Configure the version. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Runs task to check that all
false.Closure to generate the message used when tagging releases. Is passed version after it is inferred. Should return a string. Defaults to "Release of ${version}".
The repository to perform the release on.
Whether or not to prefix release tag names with a "v". Defaults to
true.
Tasks that should be executed before the release is tagged, branched, and pushed to the remote. Defaults to an empty list.
The remote to fetch from and push to. Defaults to origin.
The version class that will be set on the project by default. When the release is "readied" the intended version will be inferred from the state of the repository.
The message to use when tagging the release. Generated from generateTagMessage.
Gets the tag name that will be used.
Sets the repository to use on both this extension and the underlying version.
grgit - the repository to useConfigure the version. Delegates to version.
closure - a closure to configure the versionGroovy Documentation