# Class DependentComponentsReport

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.reporting.dependents.DependentComponentsReport

All Implemented Interfaces:
  `Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Task, Configurable<Task>`

@Deprecated @DisableCachingByDefault(because="Produces only non-cacheable console output") public abstract class DependentComponentsReport extends DefaultTask
Deprecated.
The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.
Displays dependent components.

Since:
  3.2

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from interface Named

  `Named.Namer`

- ## Field Summary

  ### Fields inherited from interface Task

  `TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DependentComponentsReport()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `getComponents()`
  Deprecated.
  Returns the components to generate the report for.
  `protected abstract org.gradle.model.internal.registry.ModelRegistry`
  `getModelRegistry()`
  Deprecated.
  `boolean`
  `getShowAll()`
  Deprecated.
  Should this include both non-buildable and test suites in the report?
  `protected abstract org.gradle.internal.logging.text.StyledTextOutputFactory`
  `getTextOutputFactory()`
  Deprecated.
  `protected abstract org.gradle.internal.work.WorkerLeaseService`
  `getWorkerLeaseService()`
  Deprecated.
  `boolean`
  `isShowNonBuildable()`
  Deprecated.
  Should this include non-buildable components in the report?
  `boolean`
  `isShowTestSuites()`
  Deprecated.
  Should this include test suites in the report?
  `void`
  `report()`
  Deprecated.
  Report.
  `void`
  `setComponents(List<String> components)`
  Deprecated.
  Sets the components to generate the report for.
  `void`
  `setShowAll(boolean showAll)`
  Deprecated.
  Set this to include both non buildable components and test suites in the report.
  `void`
  `setShowNonBuildable(boolean showNonBuildable)`
  Deprecated.
  Sets the show non buildable.
  `void`
  `setShowTestSuites(boolean showTestSuites)`
  Deprecated.
  Sets the show test suites.

  ### Methods inherited from class DefaultTask

  `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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService`

  ### Methods inherited from class org.gradle.api.internal.AbstractTask

  `acceptServiceReferences, appendParallelSafeAction, doNotTrackState, doNotTrackStateIf, getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getLoggingManager, getOnlyIf, getReasonNotToTrackState, getReasonsNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions, service, setImpliesSubProjects`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface Task

  `doNotTrackState, notCompatibleWithConfigurationCache, service`

- ## Constructor Details

  - ### DependentComponentsReport

    @Inject public DependentComponentsReport()
    Deprecated.

- ## Method Details

  - ### isShowNonBuildable

    @Console public boolean isShowNonBuildable()
    Deprecated.
    Should this include non-buildable components in the report?
    Since:
      3.2

  - ### setShowNonBuildable

    public void setShowNonBuildable(boolean showNonBuildable)
    Deprecated.
    Sets the show non buildable.
    Since:
      3.2

  - ### isShowTestSuites

    @Console public boolean isShowTestSuites()
    Deprecated.
    Should this include test suites in the report?
    Since:
      3.2

  - ### setShowTestSuites

    public void setShowTestSuites(boolean showTestSuites)
    Deprecated.
    Sets the show test suites.
    Since:
      3.2

  - ### getShowAll

    @Console public boolean getShowAll()
    Deprecated.
    Should this include both non-buildable and test suites in the report?
    Since:
      3.2

  - ### setShowAll

    public void setShowAll(boolean showAll)
    Deprecated.
    Set this to include both non buildable components and test suites in the report.
    Since:
      3.2

  - ### getComponents

    @Console public List<String> getComponents()
    Deprecated.
    Returns the components to generate the report for. Defaults to all components of this project.
    Returns:
      the components.
    Since:
      3.2

  - ### setComponents

    public void setComponents(List<String> components)
    Deprecated.
    Sets the components to generate the report for.
    Parameters:
      `components` - the components.
    Since:
      3.2

  - ### getTextOutputFactory

    @Inject protected abstract org.gradle.internal.logging.text.StyledTextOutputFactory getTextOutputFactory()
    Deprecated.

  - ### getModelRegistry

    @Inject protected abstract org.gradle.model.internal.registry.ModelRegistry getModelRegistry()
    Deprecated.

  - ### getWorkerLeaseService

    @Inject protected abstract org.gradle.internal.work.WorkerLeaseService getWorkerLeaseService()
    Deprecated.

  - ### report

    public void report()
    Deprecated.
    Report.
    Since:
      3.2