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.

VcsMapping

interface VcsMapping(source)

A dependency mapping provided by a VCS repository.

Since

4.3

Functions

Link copied to clipboard
abstract fun from(versionControlSpec: VersionControlSpec)
abstract fun <T : VersionControlSpec?> from(type: Class<T>, configureAction: Action<in T>)
Specifies the VCS location for the requested component.
Link copied to clipboard
inline fun <T : VersionControlSpec> VcsMapping.from(noinline configureAction: T.() -> Unit)

Specifies the VCS location for the requested component.

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.

Link copied to clipboard
The requested dependency, before it is resolved.