@NotNull
  public static FileChooserDescriptor getGradleHomeFileChooserDescriptor() {
    // allow selecting files to avoid confusion:
    // on macOS a user can select any file but after clicking OK, dialog is closed, but IDEA doesnt' receive the file and doesn't react
    return FileChooserDescriptorFactory.createSingleFileOrFolderDescriptor();
  }
@NotNull
  public static FileChooserDescriptor getGradleHomeFileChooserDescriptor()