List<File> (@NotNull String externalProjectPath, @NotNull Project project) { GradleSettings settings = GradleSettings.getInstance(project); GradleProjectSettings projectSettings = settings.getLinkedProjectSettings(externalProjectPath); if (projectSettings == null) { return null; } return GradleAutoReloadSettingsCollector.EP_NAME.getExtensionList().stream() .flatMap(it -> it.collectSettingsFiles(project, projectSettings).stream()) .collect(Collectors.toList()); }