private @NotNull Collection<? extends ExternalDependency> getDependencies(
    @NotNull FileCollection fileCollection,
    @NotNull String scope
  ) {
    return resolveDependenciesWithDefault(fileCollection, scope, new Supplier<Collection<? extends ExternalDependency>>() {
      @Override
      public Collection<? extends ExternalDependency> get() {
        return Collections.singleton(new DefaultFileCollectionDependency(fileCollection.getFiles()));
      }
    });
  }
private @NotNull Collection<? extends ExternalDependency> getDependencies(
    @NotNull FileCollection fileCollection,
    @NotNull String scope
  )