public class ProjectReportsPlugin implements Plugin {
public void apply(Project project, PluginRegistry pluginRegistry, Map<String, ?> customValues) {
pluginRegistry.apply(ReportingBasePlugin.class, project, customValues);
TaskReportTask taskReportTask = (TaskReportTask) project.createTask(toMap(Task.TASK_TYPE, TaskReportTask.class),
"taskReport");
<BUG>taskReportTask.setOutputFile(new File(project.getBuildDir(), "reports/project/tasks.txt"));
PropertyReportTask propertyReportTask = (PropertyReportTask) project.createTask(toMap(Task.TASK_TYPE,</BUG>
PropertyReportTask.class), "propertyReport");
<BUG>propertyReportTask.setOutputFile(new File(project.getBuildDir(), "reports/project/properties.txt"));
DependencyReportTask dependencyReportTask = (DependencyReportTask) project.createTask(toMap(Task.TASK_TYPE,</BUG>
DependencyReportTask.class), "dependencyReport");

public class ProjectReportsPlugin implements Plugin {
public void apply(Project project, PluginRegistry pluginRegistry, Map<String, ?> customValues) {
pluginRegistry.apply(ReportingBasePlugin.class, project, customValues);
TaskReportTask taskReportTask = (TaskReportTask) project.createTask(toMap(Task.TASK_TYPE, TaskReportTask.class),
"taskReport");
taskReportTask.setOutputFile(new File(project.getBuildDir(), "reports/project/tasks.txt"));
taskReportTask.setDescription("Shows a report about your tasks.");
PropertyReportTask propertyReportTask = (PropertyReportTask) project.createTask(toMap(Task.TASK_TYPE,
PropertyReportTask.class), "propertyReport");
propertyReportTask.setOutputFile(new File(project.getBuildDir(), "reports/project/properties.txt"));
propertyReportTask.setDescription("Shows a report about your properties.");
DependencyReportTask dependencyReportTask = (DependencyReportTask) project.createTask(toMap(Task.TASK_TYPE,
