Groovy Documentation

org.gradle.tooling.model.idea
[Java] Interface IdeaSingleEntryLibraryDependency

org.gradle.tooling.model.Dependency
  org.gradle.tooling.model.ExternalDependency
      org.gradle.tooling.model.idea.IdeaSingleEntryLibraryDependency
          org.gradle.tooling.model.idea.IdeaDependency
              org.gradle.api.artifacts.Dependency
All Superinterfaces:
Dependency, ExternalDependency, IdeaDependency, Dependency

public interface IdeaSingleEntryLibraryDependency
extends ExternalDependency, IdeaDependency

"Single-Entry Module Library" as IDEA calls it. For example a single Jar file with sources Jar.

Since:
1.0-milestone-5


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 ExternalDependency
getFile, getGradleModuleVersion, getJavadoc, getSource
 
Methods inherited from interface IdeaDependency
getExported, getScope
 

Method Detail

getFile

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


getJavadoc

@Nullable
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

@Nullable
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.12