# getFirstLevelModuleDependencies

abstract fun getFirstLevelModuleDependencies(): Set<ResolvedDependency>(source)

Returns successfully resolved direct dependencies.

Prefer org.gradle.api.artifacts.result.ResolutionResult for traversing the resolved graph or getArtifacts for accessing the resolved artifacts.

#### Return

only resolved dependencies

#### Since

3.3

abstract fun getFirstLevelModuleDependencies(dependencySpec: Spec<in Dependency>): Set<ResolvedDependency>(source)

### Deprecated

Returns successfully resolved dependencies that match the given spec.

#### Return

only resolved dependencies

#### Deprecated

Use getFirstLevelModuleDependencies.

#### Parameters

dependencySpec

dependency spec