gradle
8.3

# ExternalDependency

interface ExternalDependency : Dependency

Represents an external artifact dependency.

#### 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(): 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(): 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(): 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.