toggle menu
gradle
8.12
API
switch theme
search in API
gradle
/
org.gradle.vcs.git
/
GitVersionControlSpec
Git
Version
Control
Spec
API
interface
GitVersionControlSpec
:
VersionControlSpec
(
source
)
A specification of a Git repository.
Since
4.4
Members
Functions
get
Display
Name
Link copied to clipboard
API
abstract
fun
getDisplayName
(
)
:
String
get
Repo
Name
Link copied to clipboard
API
abstract
fun
getRepoName
(
)
:
String
get
Root
Dir
Link copied to clipboard
API
abstract
fun
getRootDir
(
)
:
String
get
Unique
Id
Link copied to clipboard
API
abstract
fun
getUniqueId
(
)
:
String
get
Url
Link copied to clipboard
API
abstract
fun
getUrl
(
)
:
URI
The URL for the repository in the specification.
plugins
Link copied to clipboard
API
abstract
fun
plugins
(
configuration
:
Action
<
in
InjectedPluginDependencies
>
)
set
Root
Dir
Link copied to clipboard
API
abstract
fun
setRootDir
(
rootDir
:
String
)
set
Url
Link copied to clipboard
API
abstract
fun
setUrl
(
url
:
String
)
abstract
fun
setUrl
(
url
:
URI
)
Sets the URL of the repository.