api / org.gradle.vcs / VcsMapping / from

from

abstract fun from(versionControlSpec: VersionControlSpec): Unit

Specifies the VCS location for the requested component.

Since
4.6

abstract fun <T : VersionControlSpec> from(type: Class<T>, configureAction: Action<in T>): Unit

Specifies the VCS location for the requested component.