void (@NotNull ProgressIndicator indicator) { UnindexedFilesScannerExecutor.getInstance(project).suspendScanningAndIndexingThenRun(title, () -> { for (DataNode<ModuleData> moduleDataNode : findAll(projectStructure, ProjectKeys.MODULE)) { moduleDataNode.getData().useExternalCompilerOutput(delegatedBuild); for (DataNode<GradleSourceSetData> sourceSetDataNode : findAll(moduleDataNode, GradleSourceSetData.KEY)) { sourceSetDataNode.getData().useExternalCompilerOutput(delegatedBuild); } configureExcludeOutDir(moduleDataNode, delegatedBuild); } ProjectDataManager.getInstance().importData(projectStructure, project); }); }