# EclipseExternalDependency

interface EclipseExternalDependency : ExternalDependency, EclipseClasspathEntry(source)

Represents an Eclipse-specific external artifact dependency.

#### Since

2.14

## Functions

getAccessRules
Link copied to clipboard
abstract fun getAccessRules(): DomainObjectSet<out AccessRule>
Returns the access rules associated with this classpath entry.
getAttemptedSelector
Link copied to clipboard
@Nullable
abstract fun getAttemptedSelector(): @Nullable ComponentSelector
Returns the coordinates of the artifact that Gradle was not able to resolve.
getClasspathAttributes
Link copied to clipboard
abstract fun getClasspathAttributes(): DomainObjectSet<out ClasspathAttribute>
Returns the classpath attributes associated with this classpath entry.
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.
isResolved
Link copied to clipboard
abstract fun isResolved(): Boolean
Returns `true` if the current instance represents a resolved dependency.