Package org.gradle.vcs
Schnittstelle VersionControlSpec
- Alle Superschnittstellen:
Describable
- Alle bekannten Unterschnittstellen:
GitVersionControlSpec
Captures user-provided information about a version control repository.
- Seit:
- 4.4
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the name of the repository.Returns the relative path to the root of the build within the repository.Returns aStringidentifier which will be unique to this version control specification among other version control specifications.voidplugins(Action<? super InjectedPluginDependencies> configuration) Configure injected plugins into this build.voidsetRootDir(String rootDir) Sets the relative path to the root of the build within the repository.Von Schnittstelle geerbte Methoden org.gradle.api.Describable
getDisplayName
-
Methodendetails
-
getUniqueId
String getUniqueId()Returns aStringidentifier which will be unique to this version control specification among other version control specifications. -
getRepoName
String getRepoName()Returns the name of the repository. -
getRootDir
String getRootDir()Returns the relative path to the root of the build within the repository.Defaults to an empty relative path, meaning the root of the repository.
- Gibt zurück:
- the root directory of the build, relative to the root of this repository.
- Seit:
- 4.5
-
setRootDir
Sets the relative path to the root of the build within the repository. Use an empty string to refer to the root of the repository.- Parameter:
rootDir- The root directory of the build, relative to the root of this repository.- Seit:
- 4.5
-
plugins
Configure injected plugins into this build.- Parameter:
configuration- the configuration action for adding injected plugins- Seit:
- 4.6
-