# getRootVariant

@Incubating
abstract fun getRootVariant(): Provider<ResolvedVariantResult>(source)

The root variant of the dependency graph. This is a synthetic variant that represents the thing being resolved. All outgoing dependencies of this variant represent first-level declared dependencies of the resolution.

#### Return

a provider for the root variant of the dependency graph.

#### Since

8.11