Klasse OutgoingVariantsReportTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.tasks.diagnostics.AbstractConfigurationReportTask
org.gradle.api.tasks.diagnostics.OutgoingVariantsReportTask
Alle implementierten Schnittstellen:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Reporting<ConfigurationReports>, Task, Configurable<Task>

@DisableCachingByDefault(because="Produces only non-cacheable console output by examining configurations at execution time") public abstract class OutgoingVariantsReportTask extends AbstractConfigurationReportTask
A task which reports the outgoing variants of a project on the command line. This is useful for listing what a project produces in terms of variants and what artifacts are attached to each variant. Variants, in this context, must be understood as "things produced by a project which can safely be consumed by another project".
Seit:
6.0
  • Konstruktordetails

    • OutgoingVariantsReportTask

      public OutgoingVariantsReportTask()
  • Methodendetails

    • getVariantName

      @Input @Optional public abstract Property<String> getVariantName()
      Limits the report to a single variant.
      Gibt zurück:
      property holding name of the variant to report
    • getShowAll

      @Input @Optional public abstract Property<Boolean> getShowAll()
      Shows all variants, including legacy and deprecated configurations.
      Gibt zurück:
      property holding the flag to show all variants
    • buildReportSpec

      protected org.gradle.api.tasks.diagnostics.internal.configurations.spec.AbstractConfigurationReportSpec buildReportSpec()
      Angegeben von:
      buildReportSpec in Klasse AbstractConfigurationReportTask