|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.internal.ConventionTask
org.gradle.api.tasks.ide.eclipse.EclipseClasspath
class EclipseClasspath extends ConventionTask
Generates an eclipse .classpath file.
Field Summary | |
---|---|
static java.lang.String |
CLASSPATH_FILE_NAME
|
Constructor Summary | |
EclipseClasspath()
|
Method Summary | |
---|---|
protected void
|
generateClasspath()
|
List
|
getClasspathLibs()
Returns a list with library paths to be transformed into eclipse lib dependencies. |
boolean
|
getFailForMissingDependencies()
Returns whether the build should fail if lib dependencies intended to be used by this task can not be resolved. |
java.lang.Object
|
getOutputDirectory()
Returns the eclipse output directory for compiled sources |
List
|
getProjectDependencies()
Returns the project dependencies to be transformed into eclipse project dependencies. |
List
|
getSrcDirs()
A list of directories which contain the sources. |
java.lang.Object
|
getTestOutputDirectory()
Returns the eclipse output directory for compiled test sources |
List
|
getTestSrcDirs()
Returns a list of paths to be transformed into eclipse test source dirs. |
void
|
setClasspathLibs(List classpathLibs)
Sets a list with library paths to be transformed into eclipse lib dependencies. |
void
|
setFailForMissingDependencies(boolean failForMissingDependencies)
Sets whether the build should fail if lib dependencies intended to be used by this task can not be resolved. |
void
|
setOutputDirectory(java.lang.Object outputDirectory)
Sets the eclipse output directory for compiled sources. |
void
|
setProjectDependencies(List projectDependencies)
Sets the project dependencies to be transformed into eclipse project dependencies. |
void
|
setSrcDirs(List srcDirs)
Sets a list of paths to be transformed into eclipse source dirs. |
void
|
setTestOutputDirectory(java.lang.Object testOutputDirectory)
Sets the eclipse output directory for compiled test sources. |
void
|
setTestSrcDirs(List testSrcDirs)
Sets a list of paths to be transformed into eclipse test source dirs. |
Field Detail |
---|
static final java.lang.String CLASSPATH_FILE_NAME
Constructor Detail |
---|
EclipseClasspath()
Method Detail |
---|
@TaskAction protected void generateClasspath()
public List getClasspathLibs()
public boolean getFailForMissingDependencies()
public java.lang.Object getOutputDirectory()
public List getProjectDependencies()
public List getSrcDirs()
public java.lang.Object getTestOutputDirectory()
public List getTestSrcDirs()
public void setClasspathLibs(List classpathLibs)
public void setFailForMissingDependencies(boolean failForMissingDependencies)
public void setOutputDirectory(java.lang.Object outputDirectory)
public void setProjectDependencies(List projectDependencies)
public void setSrcDirs(List srcDirs)
public void setTestOutputDirectory(java.lang.Object testOutputDirectory)
public void setTestSrcDirs(List testSrcDirs)
Groovy Documentation