|
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.plugins.eclipse.AbstractXmlGeneratorTask org.gradle.plugins.eclipse.EclipseClasspath
class EclipseClasspath extends AbstractXmlGeneratorTask
Generates an eclipse .classpath file.
Field Summary | |
---|---|
protected ModelFactory |
modelFactory
|
Property Summary | |
---|---|
java.util.Set |
containers
Containers to be added to the classpath |
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.io.File |
inputFile
The file that is merged into the to be produced classpath file. |
java.util.Set |
minusConfigurations
The configurations which files are to be excluded from the classpath entries. |
java.io.File |
outputFile
|
java.util.Set |
plusConfigurations
The configurations which files are to be transformed into classpath entries. |
NamedDomainObjectContainer |
sourceSets
The output file where to generate the classpath to. |
java.util.Map |
variables
The variables to be used for replacing absolute paths in classpath entries. |
Constructor Summary | |
EclipseClasspath()
|
Method Summary | |
---|---|
void
|
containers(java.lang.String containers)
Adds containers to the .classpath. |
void
|
generateXml()
|
void
|
variables(java.util.Map variables)
Adds variables to be used for replacing absolute paths in classpath entries. |
Methods inherited from class AbstractXmlGeneratorTask | |
---|---|
beforeConfigured, whenConfigured, withXml |
Field Detail |
---|
protected ModelFactory modelFactory
Property Detail |
---|
java.util.Set containers
boolean downloadJavadoc
boolean downloadSources
java.io.File inputFile
java.util.Set minusConfigurations
@OutputFile /** * The output file where to generate the classpath to. */ java.io.File outputFile
java.util.Set plusConfigurations
NamedDomainObjectContainer sourceSets
java.util.Map variables
Constructor Detail |
---|
EclipseClasspath()
Method Detail |
---|
void containers(java.lang.String containers)
containers
- the container names to be added to the .classpath.
@TaskAction void generateXml()
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