vcs

fun vcs(init: VcsSettings.() -> Unit)

Configures Version Control Settings

Example. Checkout one repository

vcs {
root(MyRepository)
}

Example. Checkout one main repository and another supplementory repository into a subdirectory

vcs {
root(MyRepository)
root(MyPlugins, ". => plugins")
}


Example. Exclude testData folder from the checkout and perform clean checkut every time

vcs {
root(MyRepository, "+:.", "-:testData")
cleanCheckout = true
}


Parameters

init

function to initialize VCS entries