public class DependencyReportTask extends AbstractReportTask
dependencies
task from the command-line.Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
DependencyReportTask() |
Modifier and Type | Method and Description |
---|---|
void |
generate(Project project) |
Set<Configuration> |
getConfigurations()
Returns the configurations to generate the report for.
|
org.gradle.api.tasks.diagnostics.internal.ReportRenderer |
getRenderer() |
void |
setConfiguration(String configurationName)
Sets the single configuration (by name) to generate the report for.
|
void |
setConfigurations(Set<Configuration> configurations)
Sets the configurations to generate the report for.
|
void |
setRenderer(org.gradle.api.tasks.diagnostics.internal.DependencyReportRenderer renderer)
Set the renderer to use to build a report.
|
generate, getOutputFile, getProjects, getTextOutputFactory, setOutputFile, setProjects
conventionMapping, conventionMapping, getConventionMapping
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
public org.gradle.api.tasks.diagnostics.internal.ReportRenderer getRenderer()
getRenderer
in class AbstractReportTask
public void setRenderer(org.gradle.api.tasks.diagnostics.internal.DependencyReportRenderer renderer)
public void generate(Project project) throws IOException
generate
in class AbstractReportTask
IOException
public Set<Configuration> getConfigurations()
public void setConfigurations(Set<Configuration> configurations)
configurations
- The configuration. Must not be null.public void setConfiguration(String configurationName)
configurationName
- name of the configuration to generate the report for