Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.IConventionAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, Configurable<Task>
DependencyReportTask
@DisableCachingByDefault(because="Abstract super-class, not to be instantiated directly") public abstract class AbstractDependencyReportTask extends ProjectBasedReportTask
Task.Namer
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
AbstractDependencyReportTask() |
Modifier and Type | Method | Description |
---|---|---|
void |
generate(Project project) |
|
Set<Configuration> |
getConfigurations() |
Returns the configurations to generate the report for.
|
org.gradle.api.tasks.diagnostics.internal.ReportRenderer |
getRenderer() |
|
abstract ConfigurationContainer |
getTaskConfigurations() |
|
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
getClientMetaData, getOutputFile, getProjectReportDirectory, getProjects, getTextOutputFactory, setOutputFile, setProjects
conventionMapping, conventionMapping, getConventionMapping
compareTo, 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, usesService
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
public org.gradle.api.tasks.diagnostics.internal.ReportRenderer getRenderer()
getRenderer
in class ConventionReportTask
public void setRenderer(org.gradle.api.tasks.diagnostics.internal.DependencyReportRenderer renderer)
public void generate(Project project) throws IOException
generate
in class ProjectBasedReportTask
IOException
@Internal 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@Internal public abstract ConfigurationContainer getTaskConfigurations()