Search in sources :

Example 1 with CppProject

use of org.gradle.tooling.model.cpp.CppProject in project gradle by gradle.

the class FetchAllCppProjects method execute.

@Override
public List<CppProject> execute(BuildController controller) {
    List<CppProject> projects = new ArrayList<CppProject>();
    collectModelsForBuild(controller, controller.getBuildModel(), projects);
    for (GradleBuild build : controller.getBuildModel().getEditableBuilds()) {
        collectModelsForBuild(controller, build, projects);
    }
    return projects;
}
Also used : CppProject(org.gradle.tooling.model.cpp.CppProject) ArrayList(java.util.ArrayList) GradleBuild(org.gradle.tooling.model.gradle.GradleBuild)

Aggregations

ArrayList (java.util.ArrayList)1 CppProject (org.gradle.tooling.model.cpp.CppProject)1 GradleBuild (org.gradle.tooling.model.gradle.GradleBuild)1