Class ResolvableConfigurationsReportTask

  • All Implemented Interfaces:
    java.lang.Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Reporting<ConfigurationReports>, Task, Configurable<Task>

    @Incubating
    @DisableCachingByDefault(because="Produces only non-cacheable console output by examining configurations at execution time")
    public abstract class ResolvableConfigurationsReportTask
    extends AbstractConfigurationReportTask
    A task which reports the configurations of a project which can be resolved on the command line. This is useful for determining which attributes are associated with the resolvable configurations being used to resolve a project's dependencies. The output can help predict which variant of each dependency will be resolved.
    Since:
    7.5
    • Constructor Detail

      • ResolvableConfigurationsReportTask

        public ResolvableConfigurationsReportTask()
    • Method Detail

      • getConfigurationName

        @Input
        @Optional
        public abstract Property<java.lang.String> getConfigurationName()
        Limits the report to a single configuration.
        Returns:
        property holding name of the configuration to report
      • getShowAll

        @Input
        @Optional
        public abstract Property<java.lang.Boolean> getShowAll()
        Shows all configurations, including legacy and deprecated configurations.
        Returns:
        property holding the flag to show all configurations
      • getRecursive

        @Input
        @Optional
        public abstract Property<java.lang.Boolean> getRecursive()
        Show all extended configurations, including transitively extended configurations.
        Returns:
        property holding the flag to show all extended configurations