api / org.gradle.vcs / VcsMapping

VcsMapping

@Incubating interface VcsMapping

A dependency mapping provided by a VCS repository.

Since
4.4

Functions

from

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

Specifies the VCS location for the requested component.

getRequested

abstract fun getRequested(): ComponentSelector

The requested dependency, before it is resolved. The requested dependency does not change even if there are multiple dependency substitution rules that manipulate the dependency metadata.