Dependency (Gradle API 5.0)
Date: 2018-11-26

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​(groovy.util.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

          @Incubating
          java.lang.String getScope​()

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

    - #### setScope

          @Incubating
          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​(groovy.util.Node parentNode)