Class MvnResolvedArtifact_1_0

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

@MavenVersion(since="3.3.1") @MavenExtensionVersion(since="2.4") public class MvnResolvedArtifact_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
Represents an artifact, such as a dependency, that has been resolved from a local cache in contrast to a remote binary repository. The build event stream may contain zero or more instances of this event.
  • Field Details

    • file

      public final MvnFileRef_1_0 file
      A reference to the resolved artifact file.
    • size

      public final long size
      The size of the resolved artifact in bytes.
    • source

      public final MvnArtifactResolutionSource_1 source
      Source of the artifact.
    • repositoryId

      @Nullable("Might be null if the artifact was installed locally or if the repository ID is not known.") public final @Nullable("Might be null if the artifact was installed locally or if the repository ID is not known.") Long repositoryId
      ID of the remote repository that the artifact is or would be resolved from (references MvnRepository_1_0.id).
  • Constructor Details

  • Method Details