|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.ConventionTask org.gradle.api.tasks.GeneratorTask org.gradle.api.tasks.XmlGeneratorTask org.gradle.plugins.eclipse.EclipseClasspath
class EclipseClasspath extends XmlGeneratorTask
Generates an Eclipse .classpath file.
Field Summary | |
---|---|
protected ClasspathFactory |
modelFactory
|
Fields inherited from class GeneratorTask | |
---|---|
generator |
Property Summary | |
---|---|
java.util.Set |
containers
Containers to be added to the classpath |
java.io.File |
defaultOutputDir
The default output directory for eclipse generated files, eg classes. |
boolean |
downloadJavadoc
Whether to download and add javadocs associated with the dependency jars. |
boolean |
downloadSources
Whether to download and add sources associated with the dependency jars. |
java.util.Set |
minusConfigurations
The configurations which files are to be excluded from the classpath entries. |
java.util.Set |
plusConfigurations
The configurations which files are to be transformed into classpath entries. |
java.lang.Iterable |
sourceSets
The source sets to be added to the classpath. |
java.util.Map |
variables
The variables to be used for replacing absolute paths in classpath entries. |
Method Summary | |
---|---|
protected void
|
configure(Classpath object)
|
void
|
containers(java.lang.String containers)
Adds containers to the .classpath. |
protected Classpath
|
create()
|
void
|
variables(java.util.Map variables)
Adds variables to be used for replacing absolute paths in classpath entries. |
Methods inherited from class XmlGeneratorTask | |
---|---|
configure, create, getXmlTransformer, withXml, withXml |
Methods inherited from class GeneratorTask | |
---|---|
beforeConfigured, beforeConfigured, getInputFile, getOutputFile, setInputFile, setOutputFile, whenConfigured, whenConfigured |
Field Detail |
---|
protected ClasspathFactory modelFactory
Property Detail |
---|
java.util.Set containers
java.io.File defaultOutputDir
boolean downloadJavadoc
boolean downloadSources
java.util.Set minusConfigurations
java.util.Set plusConfigurations
java.lang.Iterable sourceSets
java.util.Map variables
Method Detail |
---|
@Override protected void configure(Classpath object)
void containers(java.lang.String containers)
containers
- the container names to be added to the .classpath.
@Override protected Classpath create()
void variables(java.util.Map variables)
variables
- A map where the keys are the variable names and the values are the variable values.
Groovy Documentation