Groovy Documentation

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

org.gradle.tooling.model.ExternalDependency
  org.gradle.tooling.model.idea.IdeaDependency
      org.gradle.tooling.model.Dependency
          org.gradle.api.artifacts.Dependency
              org.gradle.tooling.model.idea.IdeaSingleEntryLibraryDependency
All Superinterfaces:
ExternalDependency, IdeaDependency, Dependency, 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-rc-1


Method Summary
java.io.File getFile()

Returns the file for this dependency.

java.io.File getJavadoc()

Returns the Javadoc directory/archive for this dependency.

java.io.File getSource()

Returns the source directory/archive for this dependency.

 
Methods inherited from interface ExternalDependency
getFile, getJavadoc, getSource
 
Methods inherited from interface IdeaDependency
getExported, getScope
 

Method Detail

getFile

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


getJavadoc

public java.io.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 java.io.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.


 

Groovy Documentation