Package org.gradle.tooling.model
Interface ExternalDependency
- All Superinterfaces:
Dependency
- All Known Subinterfaces:
EclipseExternalDependency,IdeaSingleEntryLibraryDependency
Represents an external artifact dependency.
-
Method Summary
Modifier and TypeMethodDescriptiongetFile()Returns the file for this dependency.Returns the Gradle module information for this dependency, ornullif the dependency does not originate from a remote repository.Returns the Javadoc directory or archive for this dependency, ornullif no Javadoc is available.Returns the source directory or archive for this dependency, ornullif no source is available.booleanMarks this dependency as exported.
-
Method Details
-
getFile
File getFile()Returns the file for this dependency.- Returns:
- The file for this dependency.
-
getSource
Returns the source directory or archive for this dependency, ornullif no source is available.- Returns:
- The source directory or archive for this dependency, or
nullif no source is available.
-
getJavadoc
Returns the Javadoc directory or archive for this dependency, ornullif no Javadoc is available.- Returns:
- the Javadoc directory or archive for this dependency, or
nullif no Javadoc is available.
-
isExported
boolean isExported()Marks this dependency as exported.- Returns:
- whether this dependency needs to be exported.
- Since:
- 2.5
-
getGradleModuleVersion
Returns the Gradle module information for this dependency, ornullif the dependency does not originate from a remote repository.- Returns:
- The Gradle module information for this dependency, or
nullif the dependency does not originate from a remote repository. - Since:
- 1.1
-