api / org.gradle.vcs / VersionControlSpec / getRootDir

getRootDir

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.

Since
4.5