private void executeTasks(@NotNull ExternalSystemExecutionSettings settings) throws Exception {
    var id = getId();
    var project = getIdeProject();
    var projectSystemId = getExternalSystemId();
    var projectPath = getExternalProjectPath();

    var environmentConfigurationProvider = ExternalSystemExecutionAware.getEnvironmentConfigurationProvider(settings);
    var activity = externalSystemTaskStarted(project, projectSystemId, ExecuteTask, environmentConfigurationProvider);
    try {
      var manager = ExternalSystemFacadeManager.getInstance();
      var facade = manager.getFacade(project, projectPath, projectSystemId);
      var taskManager = facade.getTaskManager();
      //noinspection unchecked
      taskManager.executeTasks(id, myTasksToExecute, projectPath, settings, myJvmParametersSetup);
    }
    finally {
      activity.finished();
    }
  }
private void executeTasks(@NotNull ExternalSystemExecutionSettings settings)