The base class for all project report tasks.
Constructor and description |
---|
protected AbstractReportTask
() |
Type | Name and description |
---|---|
void |
generate() |
protected void |
generate(Project project) |
File |
getOutputFile() Returns the file which the report will be written to. |
Set<Project> |
getProjects() Returns the set of project to generate this report for. |
protected ReportRenderer |
getRenderer() |
protected StyledTextOutputFactory |
getTextOutputFactory() |
void |
setOutputFile(File outputFile) Sets the file which the report will be written to. |
void |
setProjects(Set<Project> projects) Specifies the set of projects to generate this report for. |
Returns the file which the report will be written to. When set to null
, the report is written to System.out
.
Defaults to null
.
Returns the set of project to generate this report for. By default, the report is generated for the task's containing project.
Sets the file which the report will be written to. Set this to null
to write the report to System.out
.
outputFile
- The output file. May be null.Specifies the set of projects to generate this report for.
projects
- The set of projects. Must not be null.Gradle API 2.2-20140924021627+0000