Klasse BuildEnvironmentReportTask

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

@UntrackedTask(because="Produces only non-cacheable console output") public abstract class BuildEnvironmentReportTask extends DefaultTask
Provides information about the build environment for the project that the task is associated with.

Currently, this information is limited to the project's declared build script dependencies visualised in a similar manner as provided by DependencyReportTask.

It is not necessary to manually add a task of this type to your project, as every project automatically has a task of this type by the name "buildEnvironment".

Seit:
2.10
  • Felddetails

  • Konstruktordetails

    • BuildEnvironmentReportTask

      public BuildEnvironmentReportTask()
  • Methodendetails

    • getClientMetaData

      @Inject protected org.gradle.initialization.BuildClientMetaData getClientMetaData()
    • getTextOutputFactory

      @Inject protected org.gradle.internal.logging.text.StyledTextOutputFactory getTextOutputFactory()
    • getMetadataDetector

      @Inject protected abstract org.gradle.internal.jvm.inspection.JvmMetadataDetector getMetadataDetector()
    • generate

      public void generate()