private @NotNull Collection<? extends ExternalDependency> resolveSourceSetRuntimeDependencies(@NotNull SourceSet sourceSet) {
    FileCollection runtimeClasspath = sourceSet.getRuntimeClasspath();
    return resolveDependenciesWithDefault(runtimeClasspath, RUNTIME_SCOPE, new Supplier<Collection<? extends ExternalDependency>>() {
      @Override
      public Collection<? extends ExternalDependency> get() {
        String configurationName = sourceSet.getRuntimeClasspathConfigurationName();
        Configuration configuration = myProject.getConfigurations().getByName(configurationName);
        return getDependencies(configuration, RUNTIME_SCOPE);
      }
    });
  }
private @NotNull Collection<? extends ExternalDependency> resolveSourceSetRuntimeDependencies(@NotNull SourceSet sourceSet)