Collection<ExternalDependency> (@Nullable String configurationName, @Nullable String scope) { if (configurationName == null) return Collections.emptyList(); return resolveDependencies(myProject.getConfigurations().findByName(configurationName), scope).getExternalDeps(); }