# from

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

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)

Specifies the VCS location for the requested component.

#### See also

VcsMapping.from