|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.DefaultTask
org.ajoberstar.gradle.git.tasks.GitInit
public class GitInit extends DefaultTask
Task to initialize a new Git repository on the local system.
Method Summary | |
---|---|
boolean
|
getBare()
Gets whether the repository will be bare. |
java.io.File
|
getDestinationDir()
Gets the destination directory the repository will be initialized into. |
void
|
initRepo()
Initializes a new local Git repository as configured. |
void
|
setBare(boolean bare)
Sets whether the repository will be bare. |
void
|
setDestinationPath(java.lang.Object destinationPath)
Sets the path the repository should be initialized into. |
Method Detail |
---|
@Input public public boolean getBare()
Directory public public java.io.File getDestinationDir()
tion public public void initRepo()
public void setBare(boolean bare)
bare
- whether the repo will be bare
public void setDestinationPath(java.lang.Object destinationPath)
destinationPath
- the path to initialize into
Groovy Documentation