Groovy Documentation

org.gradle.tooling.model
[Java] Interface ExternalDependency

org.gradle.api.artifacts.Dependency
  org.gradle.tooling.model.ExternalDependency
All Superinterfaces:
Dependency

public interface ExternalDependency
extends Dependency

Represents an external artifact dependency.


Field Summary
 
Fields inherited from interface Dependency
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION
 
Method Summary
File getFile()

Returns the file for this dependency.

File getJavadoc()

Returns the Javadoc directory/archive for this dependency.

File getSource()

Returns the source directory/archive for this dependency.

 
Methods inherited from interface Dependency
contentEquals, copy, getGroup, getName, getVersion
 

Method Detail

getFile

public File getFile()
Returns the file for this dependency.
Returns:
The file. Never null.


getJavadoc

public File getJavadoc()
Returns the Javadoc directory/archive for this dependency.
Returns:
The Javadoc file. Returns null when the Javadoc is not available for this dependency.


getSource

public File getSource()
Returns the source directory/archive for this dependency.
Returns:
The source file. Returns null when the source is not available for this dependency.


 

Gradle API 1.0