api / org.gradle.plugins.ide.idea.model / ModuleDependency

ModuleDependency

open class ModuleDependency : Dependency

Represents an orderEntry of type module in the iml XML.

Constructors

<init>

ModuleDependency(name: String, scope: String)

Functions

addToNode

open fun addToNode(parentNode: Node): Unit

equals

open fun equals(other: Any?): Boolean

getName

open fun getName(): String

The name of the module the module depends on. Must not be null.

getScope

open fun getScope(): String

The scope for this dependency. If null the scope attribute is not added.

hashCode

open fun hashCode(): Int

isExported

open fun isExported(): Boolean

setExported

open fun setExported(exported: Boolean): Unit

setName

open fun setName(name: String): Unit

setScope

open fun setScope(scope: String): Unit

toString

open fun toString(): String