vcs
Configures Version Control Settings
Example. Checkout the repository, that is used to store Kotlin DSL Versioned Settings.
vcs {
root(DslContext.settingsRoot)
}
Content copied to clipboard
Example. Checkout one repository
vcs {
root(MyRepository)
}
Content copied to clipboard
Example. Checkout one main repository and another supplementory repository into a subdirectory
vcs {
root(MyRepository)
root(MyPlugins, ". => plugins")
}
Content copied to clipboard
Example. Exclude testData folder from the checkout and perform clean checkut every time
vcs {
root(MyRepository, "+:.", "-:testData")
cleanCheckout = true
}
Content copied to clipboard
Parameters
init
function to initialize VCS entries