Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, Configurable<Task>
@DisableCachingByDefault(because="Produces only non-cacheable console output") public class BuildEnvironmentReportTask extends DefaultTask
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"
.
Task.Namer
Modifier and Type | Field | Description |
---|---|---|
static String |
TASK_NAME |
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
BuildEnvironmentReportTask() |
Modifier and Type | Method | Description |
---|---|---|
void |
generate() |
|
protected org.gradle.initialization.BuildClientMetaData |
getClientMetaData() |
|
protected org.gradle.internal.logging.text.StyledTextOutputFactory |
getTextOutputFactory() |
|
protected void |
setRenderer(org.gradle.api.tasks.diagnostics.internal.DependencyReportRenderer dependencyReportRenderer) |
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, getOnlyIf, getReasonNotToTrackState, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doNotTrackState, getConvention
public static final String TASK_NAME
@Inject protected org.gradle.initialization.BuildClientMetaData getClientMetaData()
@Inject protected org.gradle.internal.logging.text.StyledTextOutputFactory getTextOutputFactory()
public void generate()
protected void setRenderer(org.gradle.api.tasks.diagnostics.internal.DependencyReportRenderer dependencyReportRenderer)