Class MeasureTaskTimesPlugin
java.lang.Object
com.carrotsearch.gradle.buildinfra.AbstractPlugin
com.carrotsearch.gradle.buildinfra.tasktimes.MeasureTaskTimesPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
Prints aggregate wall-clock times for all executed gradle tasks (collected across all projects).
Applied (and switched on/off) by the umbrella plugin.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis service collects per-task durations and prints a summary when closed (at the end of the build).static interfacestatic enumDuration formats for the report. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMeasureTaskTimesPlugin(org.gradle.api.problems.Problems problems, org.gradle.build.event.BuildEventsListenerRegistry listenerRegistry) -
Method Summary
Methods inherited from class AbstractPlugin
failIfDeprecatedOptionUsed, getLibsCatalog, isRootProject, pluginAppliedToRootProject, reportError, reportError
-
Field Details
-
OPT_TASK_TIMES_AGGREGATE
- See Also:
-
OPT_TASK_TIMES_LIMIT
- See Also:
-
OPT_TASK_TIMES_MIN_TIME
- See Also:
-
OPT_TASK_TIMES_TIME_FORMAT
- See Also:
-
-
Constructor Details
-
MeasureTaskTimesPlugin
@Inject public MeasureTaskTimesPlugin(org.gradle.api.problems.Problems problems, org.gradle.build.event.BuildEventsListenerRegistry listenerRegistry)
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project)
-