MavenDependency (Gradle API 8.14)
Description: declaration: package: org.gradle.api.publish.maven, interface: MavenDependency

Package org.gradle.api.publish.maven

# Interface MavenDependency

@Deprecated public interface MavenDependency
Deprecated.
This type is not referenced by any other public API classes. It will be removed in Gradle 9.0
A dependency declared as part of an `MavenPublication`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getArtifactId()`
  Deprecated.
  The artifactId value for this dependency.
  `String`
  `getGroupId()`
  Deprecated.
  The groupId value for this dependency.
  `String`
  `getType()`
  Deprecated.
  The type value for this dependency.
  `String`
  `getVersion()`
  Deprecated.
  The version value for this dependency.

- ## Method Details

  - ### getGroupId

    String getGroupId()
    Deprecated.
    The groupId value for this dependency.

  - ### getArtifactId

    String getArtifactId()
    Deprecated.
    The artifactId value for this dependency.

  - ### getVersion

    String getVersion()
    Deprecated.
    The version value for this dependency.

  - ### getType

    @Nullable String getType()
    Deprecated.
    The type value for this dependency.