|
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.EclipseProject
class EclipseProject extends XmlGeneratorTask
Generates an Eclipse .project file.
Field Summary |
---|
Fields inherited from class GeneratorTask | |
---|---|
generator |
Property Summary | |
---|---|
java.util.List |
buildCommands
The build commands to be added to this Eclipse project. |
java.lang.String |
comment
A comment used for the eclipse project |
java.util.Set |
links
The links to be added to this Eclipse project. |
java.util.List |
natures
The natures to be added to this Eclipse project. |
java.lang.String |
projectName
The name used for the name of the eclipse project |
java.util.Set |
referencedProjects
The referenced projects of this Eclipse project. |
Method Summary | |
---|---|
void
|
buildCommand(java.util.Map args, java.lang.String buildCommand)
Adds a build command with arguments to the eclipse project. |
void
|
buildCommand(java.lang.String buildCommand)
Adds a build command to the eclipse project. |
protected void
|
configure(Project project)
|
protected Project
|
create()
|
void
|
link(java.util.Map args)
Adds a link to the eclipse project. |
void
|
natures(java.lang.String natures)
Adds natures entries to the eclipse project. |
void
|
referencedProjects(java.lang.String referencedProjects)
Adds project references to the eclipse project. |
Methods inherited from class XmlGeneratorTask | |
---|---|
configure, create, getXmlTransformer, withXml, withXml |
Methods inherited from class GeneratorTask | |
---|---|
beforeConfigured, beforeConfigured, getInputFile, getOutputFile, setInputFile, setOutputFile, whenConfigured, whenConfigured |
Property Detail |
---|
java.util.List buildCommands
java.lang.String comment
java.util.Set links
java.util.List natures
java.lang.String projectName
java.util.Set referencedProjects
Method Detail |
---|
void buildCommand(java.util.Map args, java.lang.String buildCommand)
args
- A map with arguments, where the key is the name of the argument and the value the value.buildCommand
- The name of the build command.
void buildCommand(java.lang.String buildCommand)
buildCommand
- The name of the build command
@Override protected void configure(Project project)
@Override protected Project create()
void link(java.util.Map args)
args
- A maps with the args for the link. Legal keys for the map are name, type, location and locationUri.
void natures(java.lang.String natures)
natures
- the nature names
void referencedProjects(java.lang.String referencedProjects)
referencedProjects
- The name of the project references.
Groovy Documentation