Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, Configurable<Task>ProjectBasedReportTask, TaskReportTask@Incubating @DisableCachingByDefault(because="Abstract super-class, not to be instantiated directly") public abstract class ConventionReportTask extends org.gradle.api.internal.ConventionTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Modifier | Constructor | Description |
|---|---|---|
protected |
ConventionReportTask() |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.gradle.initialization.BuildClientMetaData |
getClientMetaData() |
|
File |
getOutputFile() |
Returns the file which the report will be written to.
|
DirectoryProperty |
getProjectReportDirectory() |
Returns the project report directory.
|
Set<Project> |
getProjects() |
Returns the set of project to generate this report for.
|
protected abstract org.gradle.api.tasks.diagnostics.internal.ReportRenderer |
getRenderer() |
|
protected org.gradle.internal.logging.text.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.
|
conventionMapping, conventionMapping, getConventionMappingcompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getReasonNotToTrackState, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention@Internal @Incubating public DirectoryProperty getProjectReportDirectory()
The project-report plugin sets the default value for all tasks of this type to buildDir/project.
Note, that if the project-report plugin is not applied then this property is ignored.
@Internal protected abstract org.gradle.api.tasks.diagnostics.internal.ReportRenderer getRenderer()
@Nullable @Optional @OutputFile public File getOutputFile()
null, the report is written to System.out.
Defaults to null.public void setOutputFile(@Nullable File outputFile)
null to write the report to System.out.outputFile - The output file. May be null.@Internal public Set<Project> getProjects()
public void setProjects(Set<Project> projects)
projects - The set of projects. Must not be null.@Inject protected org.gradle.initialization.BuildClientMetaData getClientMetaData()
@Inject protected org.gradle.internal.logging.text.StyledTextOutputFactory getTextOutputFactory()