@Override
  public @NotNull Collection<Path> getPaths(@NotNull Project project) {
    if (!GradleSettings.getInstance(project).getLinkedProjectsSettings().isEmpty()) {
      var envVar = System.getenv("GRADLE_USER_HOME");
      var gradleDir = envVar != null ? Path.of(envVar) : Path.of(System.getProperty("user.home"), ".gradle");
      if (Files.isDirectory(gradleDir)) {
        return List.of(gradleDir);
      }
    }

    return List.of();
  }
@Override
  public @NotNull Collection<Path> getPaths(@NotNull Project project)