Dependency (Gradle API 8.11.1)

Package org.gradle.plugins.ide.idea.model

## Interface Dependency

- All Known Implementing Classes:
    `ModuleDependency`, `ModuleLibrary`, `SingleEntryModuleLibrary`

      public interface Dependency

  Represents a dependency of an IDEA module.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addToNode​(Node parentNode)` |
    `java.lang.String` | `getScope()` | The scope of this library.
    `void` | `setScope​(java.lang.String scope)` | The scope of this library.

- - ### Method Detail

    - #### getScope

          java.lang.String getScope()

      The scope of this library. If `null`, the scope attribute is not added.
      Since:
        4.5

    - #### setScope

          void setScope​(java.lang.String scope)

      The scope of this library. If `null`, the scope attribute is not added.
      Since:
        4.5

    - #### addToNode

          void addToNode​(Node parentNode)