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

IdeaSingleEntryLibraryDependency

interface IdeaSingleEntryLibraryDependency : IdeaDependency, ExternalDependency

"Single-Entry Module Library" as IDEA calls it. For example a single Jar file with sources Jar.

Since
1.0-milestone-5

Functions

getFile

abstract fun getFile(): File

Returns the file for this dependency.

getJavadoc

abstract fun getJavadoc(): File

Returns the Javadoc directory/archive for this dependency.

getSource

abstract fun getSource(): File

Returns the source directory/archive for this dependency.

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.

getGradleModuleVersion

abstract fun getGradleModuleVersion(): GradleModuleVersion

Returns the Gradle module information for this dependency, or null if the dependency does not originate from a remote repository.

getScope

abstract fun getScope(): IdeaDependencyScope

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

isExported

abstract fun isExported(): Boolean

Marks this dependency as exported.