# ExternalDependency

interface ExternalDependency : Dependency(source)

Represents an external artifact dependency.

#### Since

0.9.2

#### Inheritors

EclipseExternalDependency
IdeaSingleEntryLibraryDependency

## Functions

getFile
Link copied to clipboard
abstract fun getFile(): File
Returns the file for this dependency.
getGradleModuleVersion
Link copied to clipboard
@Nullable
abstract fun getGradleModuleVersion(): @Nullable GradleModuleVersion
Returns the Gradle module information for this dependency, or `null` if the dependency does not originate from a remote repository.
getJavadoc
Link copied to clipboard
@Nullable
abstract fun getJavadoc(): @Nullable File
Returns the Javadoc directory or archive for this dependency, or `null` if no Javadoc is available.
getSource
Link copied to clipboard
@Nullable
abstract fun getSource(): @Nullable File
Returns the source directory or archive for this dependency, or `null` if no source is available.
isExported
Link copied to clipboard
abstract fun isExported(): Boolean
Marks this dependency as exported.