For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

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.6

See also


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

Specifies the VCS location for the requested component.

Since

5.6

See also

VcsMapping.from