@Nullable
  public static GradleVersion guessGradleVersion(@NotNull GradleProjectSettings settings) {
    DistributionType distributionType = settings.getDistributionType();
    if (distributionType == null) return null;
    BuildLayoutParameters buildLayoutParameters;
    Project project = findProject(settings);
    if (project == null)  {
      Project defaultProject = ProjectManager.getInstance().getDefaultProject();
      buildLayoutParameters = new LocalBuildLayoutParameters(defaultProject, settings.getExternalProjectPath()) {
        @Override
        public GradleProjectSettings getGradleProjectSettings() {
          return settings;
        }
      };
    } else {
      buildLayoutParameters = getInstance().guessBuildLayoutParameters(project, settings.getExternalProjectPath());
    }
    return buildLayoutParameters.getGradleVersion();
  }
@Nullable
  public static GradleVersion guessGradleVersion(@NotNull GradleProjectSettings settings)