Promise<Collection<String>> (@NotNull Project project, @NotNull RepositoryLibraryDescription libraryDescription, @NotNull List<RemoteRepositoryDescription> repositories) { List<RemoteRepositoryDescription> repos = selectRemoteRepositories(project, null, repositories).stream().toList(); return submitBackgroundJob(new VersionResolveJob(libraryDescription, repos)); }