|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.ajoberstar.gradle.git.ghpages.GithubPagesPluginExtension
class GithubPagesPluginExtension
Extension for gh-pages specific properties.
| Property Summary | |
|---|---|
java.lang.String |
commitMessage
The message used when committing changes to Github pages branch. |
PasswordCredentials |
credentials
|
CopySpec |
pages
The distribution of files to put in gh-pages. |
java.lang.Object |
repoUri
The URI of the Github repository. |
java.lang.Object |
targetBranch
The branch of the Github repository to push to. |
java.lang.Object |
workingPath
The path to put the github repository in. |
| Constructor Summary | |
GithubPagesPluginExtension(Project project)
Constructs the plugin extension. |
|
| Method Summary | |
|---|---|
void
|
credentials(groovy.lang.Closure closure)
Configured the credentials to be used when interacting with the repo. |
java.lang.String
|
getRepoUri()
Gets the URI of the Github repository. |
java.io.File
|
getWorkingDir()
Gets the working directory that the repo will be places in. |
void
|
pages(groovy.lang.Closure closure)
Configures the gh-pages copy spec. |
| 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 |
|---|
java.lang.String commitMessage
PasswordCredentials credentials
final CopySpec pages
java.lang.Object repoUri
java.lang.Object targetBranch
java.lang.Object workingPath
| Constructor Detail |
|---|
GithubPagesPluginExtension(Project project)
project - the project to create
the extension for
| Method Detail |
|---|
void credentials(groovy.lang.Closure closure)
closure - the configuration closure
java.lang.String getRepoUri()
java.io.File getWorkingDir()
void pages(groovy.lang.Closure closure)
closure - the configuration closure
Groovy Documentation