@Nullable
  private static Project findProject(@NotNull GradleProjectSettings settings) {
    for (Project project : ProjectManager.getInstance().getOpenProjects()) {
      GradleProjectSettings linkedProjectSettings =
        GradleSettings.getInstance(project).getLinkedProjectSettings(settings.getExternalProjectPath());
      if (linkedProjectSettings == settings) {
        return project;
      }
    }
    return null;
  }
@Nullable
  private static Project findProject(@NotNull GradleProjectSettings settings)