# VersionControlSpec

interface VersionControlSpec : Describable(source)

Captures user-provided information about a version control repository.

#### Since

4.4

#### Inheritors

GitVersionControlSpec

## Functions

getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
Returns the display name of this object.
getRepoName
Link copied to clipboard
abstract fun getRepoName(): Provider<String>
Returns the name of the repository.
getRootDir
Link copied to clipboard
abstract fun getRootDir(): Property<String>
The relative path to the root of the build within the repository.
getUniqueId
Link copied to clipboard
abstract fun getUniqueId(): Provider<String>
Returns a String identifier which will be unique to this version control specification among other version control specifications.
plugins
Link copied to clipboard
abstract fun plugins(configuration: Action<in InjectedPluginDependencies>)
Configure injected plugins into this build.