|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.ajoberstar.gradle.git.release.GrgitReleasePluginExtension
class GrgitReleasePluginExtension
Extension providing properties to configure the behavior of the GrgitReleasePlugin.
| Property Summary | |
|---|---|
boolean |
enforceSinceTags
Runs task to check that all
|
groovy.lang.Closure |
generateTagMessage
Closure to generate the message used when tagging releases. |
Grgit |
grgit
The repository to perform the release on. |
boolean |
prefixTagNameWithV
Whether or not to prefix release tag names with a "v". |
java.lang.Iterable |
releaseTasks
Tasks that should be executed before the release is tagged, branched, and pushed to the remote. |
java.lang.String |
remote
The remote to fetch from and push to. |
InferredVersion |
version
The version class that will be set on the project by default. |
| Constructor Summary | |
GrgitReleasePluginExtension(Project project)
|
|
| Method Summary | |
|---|---|
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 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() |
| Property Detail |
|---|
boolean enforceSinceTags
groovy.lang.Closure generateTagMessage
Grgit grgit
boolean prefixTagNameWithV
java.lang.Iterable releaseTasks
java.lang.String remote
InferredVersion version
| Constructor Detail |
|---|
GrgitReleasePluginExtension(Project project)
| Method Detail |
|---|
java.lang.String getTagMessage()
java.lang.String getTagName()
void setGrgit(Grgit grgit)
grgit - the repository to use
void version(groovy.lang.Closure closure)
closure - a closure to configure the version
Groovy Documentation