# from

inline fun <T : VersionControlSpec> VcsMapping. from(type: KClass<T>, configureAction: Action<in T>)(source)
inline fun <T : VersionControlSpec> VcsMapping. from(type: KClass<T>, configureAction: Action<in T>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.vcs.VcsMapping.from.

#### Since

4.4

#### See also

VcsMapping.from

inline fun <T : VersionControlSpec> VcsMapping. from(noinline configureAction: T.() -> Unit)(source)

Specifies the VCS location for the requested component.

#### See also

VcsMapping.from