|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.ide.eclipse.EclipseClasspath
public class EclipseClasspath
Generates an eclipse .classpath file.
| Field Summary | |
|---|---|
static java.lang.String |
CLASSPATH_FILE_NAME
|
| Fields inherited from interface org.gradle.api.Task |
|---|
AUTOSKIP_PROPERTY_PREFIX, TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_NAME, TASK_OVERWRITE, TASK_TYPE |
| Constructor Summary | |
|---|---|
EclipseClasspath()
|
|
| Method Summary | |
|---|---|
protected void |
generateClasspath()
|
java.util.List<java.lang.Object> |
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 |
java.util.List<org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency> |
getProjectDependencies()
Returns the project dependencies to be transformed into eclipse project dependencies. |
java.util.List<java.lang.Object> |
getSrcDirs()
A list of directories which contain the sources. |
java.lang.Object |
getTestOutputDirectory()
Returns the eclipse output directory for compiled test sources |
java.util.List |
getTestSrcDirs()
Returns a list of paths to be transformed into eclipse test source dirs. |
void |
setClasspathLibs(java.util.List<java.lang.Object> 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(java.util.List<org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency> projectDependencies)
Sets the project dependencies to be transformed into eclipse project dependencies. |
void |
setSrcDirs(java.util.List<java.lang.Object> 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(java.util.List testSrcDirs)
Sets a list of paths to be transformed into eclipse test source dirs. |
| Methods inherited from class org.gradle.api.internal.ConventionTask |
|---|
conventionMapping, getConventionMapping, setConventionMapping |
| Methods inherited from class org.gradle.api.DefaultTask |
|---|
configure, doFirst, doLast, leftShift |
| Methods inherited from class org.gradle.api.internal.AbstractTask |
|---|
captureStandardOutput, compareTo, defineProperty, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuted, getLogger, getName, getOutput, getPath, getProject, getStandardOutputCapture, getTaskDependencies, hashCode, hasProperty, injectIntoNextInstance, isDidWork, isEnabled, isExecuted, onlyIf, onlyIf, property, setActions, setAdditionalProperties, setConvention, setDependsOn, setDescription, setDidWork, setEnabled, setExecuted, setName, setOutputHandler, setProject, setProperty, setStandardOutputCapture, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface groovy.lang.GroovyObject |
|---|
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
| Field Detail |
|---|
public static final java.lang.String CLASSPATH_FILE_NAME
| Constructor Detail |
|---|
public EclipseClasspath()
| Method Detail |
|---|
protected void generateClasspath()
public java.util.List<java.lang.Object> getSrcDirs()
public void setSrcDirs(java.util.List<java.lang.Object> srcDirs)
GradleException is thrown at execution time.
srcDirs - An list with objects which toString value is interpreted as a pathpublic java.util.List getTestSrcDirs()
(java.util.List)public void setTestSrcDirs(java.util.List testSrcDirs)
GradleException is thrown at execution time.
testSrcDirs - An list with objects which toString value is interpreted as a pathpublic java.lang.Object getOutputDirectory()
setOutputDirectory(Object)public void setOutputDirectory(java.lang.Object outputDirectory)
GradleException is thrown at execution time.
outputDirectory - An object which toString value is interpreted as a pathpublic java.lang.Object getTestOutputDirectory()
setTestOutputDirectory(Object)public void setTestOutputDirectory(java.lang.Object testOutputDirectory)
GradleException is thrown at execution time.
testOutputDirectory - An object which toString value is interpreted as a pathpublic java.util.List<org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency> getProjectDependencies()
setProjectDependencies(java.util.List)public void setProjectDependencies(java.util.List<org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency> projectDependencies)
projectDependencies - public java.util.List<java.lang.Object> getClasspathLibs()
setClasspathLibs(java.util.List)public void setClasspathLibs(java.util.List<java.lang.Object> classpathLibs)
classpathLibs - An list with objects which toString value is interpreted as a pathpublic boolean getFailForMissingDependencies()
setFailForMissingDependencies(boolean)public void setFailForMissingDependencies(boolean failForMissingDependencies)
failForMissingDependencies -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||