public Collection < ArtifactSpec > getDirectDependencies ( boolean includeUnsolved , boolean includePresolved ) { Set < ArtifactSpec > deps = new LinkedHashSet <> ( ) ; if ( includeUnsolved ) { deps . addAll ( getDirectDeps ( ) ) ; } if ( includePresolved ) { deps . addAll ( presolvedDependencies . getDirectDeps ( ) ) ; } return deps ; }
Get the collection of direct dependencies included in this instance .