abstract fun getFirstLevelModuleDependencies(): MutableSet<ResolvedDependency>
Returns the ResolvedDependency instances for each direct dependency of the configuration. Via those you have access to all ResolvedDependency instances, including the transitive dependencies of the configuration.
ResolveException
- when the resolve was not successful.
Return
A ResolvedDependency
instance for each direct dependency.
abstract fun getFirstLevelModuleDependencies(dependencySpec: Spec<in Dependency>): MutableSet<ResolvedDependency>
Returns the ResolvedDependency instances for each direct dependency of the configuration that matches the given spec. Via those you have access to all ResolvedDependency instances, including the transitive dependencies of the configuration.
dependencySpec
- A filter for the dependencies to be resolved.
ResolveException
- when the resolve was not successful.
Return
A ResolvedDependency
instance for each direct dependency.