GitVersionControlSpec

A specification of a Git repository.

Since

4.4

Functions

Link copied to clipboard
abstract fun getDisplayName(): String
Returns the display name of this object.
Link copied to clipboard
abstract fun getRepoName(): Provider<String>
Returns the name of the repository.
Link copied to clipboard
abstract fun getRootDir(): Property<String>
The relative path to the root of the build within the repository.
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.
Link copied to clipboard
abstract fun getUrl(): Property<URI>
The URL for the repository in the specification.
Link copied to clipboard
abstract fun plugins(configuration: Action<in InjectedPluginDependencies>)
Configure injected plugins into this build.
Link copied to clipboard
abstract fun setUrl(url: String)
Sets the URL of the repository.