Search in sources :

Example 6 with SettingsNodeVersion1

use of org.gradle.openapi.external.ui.SettingsNodeVersion1 in project gradle by gradle.

the class SettingsNodeVersionWrapper method convertNodes.

/*package*/
static List<SettingsNode> convertNodes(List<SettingsNodeVersion1> nodes) {
    List<SettingsNode> settingsNodes = new ArrayList<SettingsNode>();
    Iterator<SettingsNodeVersion1> iterator = nodes.iterator();
    while (iterator.hasNext()) {
        SettingsNodeVersion1 nodeVersion1 = iterator.next();
        settingsNodes.add(new SettingsNodeVersionWrapper(nodeVersion1));
    }
    return settingsNodes;
}
Also used : SettingsNodeVersion1(org.gradle.openapi.external.ui.SettingsNodeVersion1) SettingsNode(org.gradle.gradleplugin.foundation.settings.SettingsNode) ArrayList(java.util.ArrayList)

Aggregations

SettingsNodeVersion1 (org.gradle.openapi.external.ui.SettingsNodeVersion1)6 ArrayList (java.util.ArrayList)2 SettingsNode (org.gradle.gradleplugin.foundation.settings.SettingsNode)1