Class MvnDependencyResolutionDurationSummary_1_0

java.lang.Object
com.gradle.scan.eventmodel.maven.MvnDependencyResolutionDurationSummary_1_0
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData

@MavenVersion(since="3.3.1") @MavenExtensionVersion(since="1.9") public class MvnDependencyResolutionDurationSummary_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
An summary of the time spent on dependency resolution activity during the build.

The times given are a sum of the time spent for individual resolution activities, including making network requests to remote repositories. Individual activities may occur in parallel within a project and across projects. The times are not indicative of wall clock time spent performing dependency resolution when resolution activities occurred in parallel.

One event of this type will be emitted for every build. If no dependency resolution occurred, all values will be 0.

See Also:
  • Field Details

    • projectMillis

      public final long projectMillis
      The cumulative serial time spent resolving dependencies for projects.

      These are the dependencies used by the project being built. That is, the dependencies declared in the project's POM to be built against.

    • pluginMillis

      public final long pluginMillis
      The cumulative serial time spent resolving dependencies for plugins.

      These are the build's plugins and their dependencies.

    • unknownMillis

      public final long unknownMillis
      The cumulative serial time spent resolving dependencies where it could not be determined that it was for a project or a plugin.

      Due to Maven internal limitations, some dependency resolution activity is not attributable. This usually only occurs when using dynamic build plugin versions.

  • Constructor Details

    • MvnDependencyResolutionDurationSummary_1_0

      public MvnDependencyResolutionDurationSummary_1_0(long projectMillis, long pluginMillis, long unknownMillis)
  • Method Details