@Incubating interface VersionControlSpec : Describable
Captures user-provided information about a version control system.
Since
4.4
abstract fun getRepoName(): String
Returns the name of the repository. |
|
abstract fun getRootDir(): String
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. |
|
abstract fun getUniqueId(): String
Returns a String identifier which will be unique to this version control specification among other version control specifications. |
|
abstract fun plugins(configuration: Action<in InjectedPluginDependencies>): Unit
Configure injected plugins into this build. |
|
abstract fun setRootDir(rootDir: String): Unit
Sets the relative path to the root of the build within the repository. |
abstract fun getDisplayName(): String
Returns the display name of this object. It is strongly encouraged to compute it lazily, and cache the value if it is expensive. |
interface GitVersionControlSpec : VersionControlSpec
A specification of a Git repository. |