Describable
GitVersionControlSpec
@Incubating public interface VersionControlSpec extends Describable
Modifier and Type | Method | Description |
---|---|---|
String |
getRepoName() |
Returns the name of the repository.
|
String |
getRootDir() |
Returns the relative path to the root of the build within the repository.
|
String |
getUniqueId() |
Returns a
String identifier which will be unique to this version
control specification among other version control specifications. |
void |
plugins(Action<? super InjectedPluginDependencies> configuration) |
Configure injected plugins into this build.
|
void |
setRootDir(String rootDir) |
Sets the relative path to the root of the build within the repository.
|
getDisplayName
String getUniqueId()
String
identifier which will be unique to this version
control specification among other version control specifications.String getRepoName()
String getRootDir()
Defaults to an empty relative path, meaning the root of the repository.
void setRootDir(String rootDir)
rootDir
- The root directory of the build, relative to the root of this repository.void plugins(Action<? super InjectedPluginDependencies> configuration)
configuration
- the configuration action for adding injected plugins