Package org.gradle.api.artifacts

## Interface DirectDependencyMetadata

- All Superinterfaces:
    `DependencyMetadata<DirectDependencyMetadata>`

      @Incubating
      public interface DirectDependencyMetadata
      extends DependencyMetadata<DirectDependencyMetadata>

  Describes a dependency declared in a resolved component's metadata, which typically originates from a component descriptor (Gradle metadata file, Ivy file, Maven POM). This interface can be used to adjust a dependency's properties via metadata rules (see `ComponentMetadataHandler`.
  Since:
    4.5

- - ### Method Summary

    - ### Methods inherited from interface org.gradle.api.artifacts.DependencyMetadata

      `attributes, because, getAttributes, getGroup, getModule, getName, getReason, getVersionConstraint, version`