Package: org.gradle.tooling.model.idea

## [Java] Interface IdeaModuleDependency

- org.gradle.tooling.model.idea.IdeaModuleDependency

- All Superinterfaces:
    IdeaDependency, Dependency

  Dependency on a module in a project.

  Since:
    1.0-milestone-5

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `IdeaModule` | `getDependencyModule()` returns dependency module, or null if the dependency module is not in the same Gradle build.
    `IdeaModuleIdentifier` | `getTarget()` Returns the identifier of the target Idea module.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface IdeaDependency` | `getExported, getScope`

- - ### Method Detail

    - #### @Deprecated public IdeaModule getDependencyModule()

      returns dependency module, or null if the dependency module is not in the same Gradle build.

      Returns:
        dependency module

    - #### @Incubating public IdeaModuleIdentifier getTarget()

      Returns the identifier of the target Idea module.

      Returns:
        The target identifier, never null.
      Since:
        2.14