public static @NotNull RemoteRepositoriesConfiguration getInstance(Project project) {
    return project.getService(RemoteRepositoriesConfiguration.class);
  }
public static @NotNull RemoteRepositoriesConfiguration getInstance(Project project)