@NotNull
    @Override
    public List<File> collectSettingsFiles(@NotNull Project project, @NotNull GradleProjectSettings projectSettings) {
      String gradleUserHome = ObjectUtils.chooseNotNull(
        GradleSettings.getInstance(project).getServiceDirectoryPath(),
        GradleUserHomeUtil.gradleUserHomeDir().getPath()
      );
      String externalProjectPath = projectSettings.getExternalProjectPath();

      List<File> files = new SmartList<>();
      files.add(new File(gradleUserHome, "gradle.properties"));
      files.add(new File(gradleUserHome, "init.gradle"));
      files.add(new File(externalProjectPath, "gradle.properties"));
      return files;
    }
@NotNull
    @Override
    public List<File> collectSettingsFiles(@NotNull Project project, @NotNull GradleProjectSettings projectSettings)