}
for (PluginDescriptor systemPlugin : configuration.getSystemPlugins()) {
if (isRootProject && InheritableScope.BOTH == systemPlugin.getInheritScope()
|| systemPlugin.isInheritable()) {
// import/include system plugin
Import importTask = new Import();
importTask.setMrid(systemPlugin.getMrid());
importTask.setOrganisation(systemPlugin.getOrganisation());
importTask.setModule(systemPlugin.getModule());
importTask.setRevision(systemPlugin.getRevision());
importTask.setAs(systemPlugin.getAs());
importTask.setMode(systemPlugin.getMode());
importTask.setMandatory(systemPlugin.isMandatory());
executeTask(importTask, "configure-system-plugins", project);
}
}
}