use of org.gradle.plugins.ide.internal.tooling.eclipse.DefaultEclipseTask in project gradle by gradle.
the class EclipseModelBuilder method populateEclipseProjectTasks.
private static void populateEclipseProjectTasks(DefaultEclipseProject eclipseProject, Iterable<Task> projectTasks) {
List<DefaultEclipseTask> tasks = new ArrayList<>();
for (Task t : projectTasks) {
tasks.add(new DefaultEclipseTask(eclipseProject, t.getPath(), t.getName(), t.getDescription()));
}
eclipseProject.setTasks(tasks);
}
Aggregations