api / org.gradle.tooling.model.idea / IdeaModuleDependency

IdeaModuleDependency

interface IdeaModuleDependency : IdeaDependency

Dependency on a module in a project.

Since
1.0-milestone-5

Functions

getDependencyModule

abstract fun getDependencyModule(): IdeaModule

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

getTargetModuleName

abstract fun getTargetModuleName(): String

Returns the name of the target module

Inherited Functions

getExported

abstract fun getExported(): Boolean

Allows to check if current dependency is transitive, i.e. is visible to the module which depends on module that has current dependency.

getScope

abstract fun getScope(): IdeaDependencyScope

scope of the current dependency. Not-null all the time