|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.plugins.idea.IdeaProject
class IdeaProject extends DefaultTask
Generates an IDEA project file.
| Property Summary | |
|---|---|
java.lang.String |
javaVersion
The java version used for defining the project sdk. |
java.io.File |
outputFile
The ipr file |
java.util.Set |
subprojects
The subprojects that should be mapped to modules in the ipr file. |
java.util.Set |
wildcards
The wildcard resource patterns. |
| Constructor Summary | |
IdeaProject()
|
|
| Method Summary | |
|---|---|
IdeaProject
|
beforeConfigured(groovy.lang.Closure closure)
Adds a closure to be called after the existing ipr xml or the default xml has been parsed. |
void
|
updateXML()
|
IdeaProject
|
whenConfigured(groovy.lang.Closure closure)
Adds a closure after the domain objects that model the customizable aspects of the ipr file are fully populated. |
IdeaProject
|
withXml(groovy.lang.Closure closure)
Adds a closure to be called when the IPR XML has been created. |
IdeaProject
|
withXml(Action action)
Adds an action to be called when the IPR XML has been created. |
| Property Detail |
|---|
@Input java.lang.String javaVersion
@OutputFile java.io.File outputFile
java.util.Set subprojects
@Input java.util.Set wildcards
| Constructor Detail |
|---|
IdeaProject()
| Method Detail |
|---|
IdeaProject beforeConfigured(groovy.lang.Closure closure)
closure - The closure to execute when the existing or default ipr xml has been parsed.
@TaskAction void updateXML()
IdeaProject whenConfigured(groovy.lang.Closure closure)
closure - The closure to execute after the Project object has been fully populated.
IdeaProject withXml(groovy.lang.Closure closure)
closure - The closure to execute when the IPR XML has been created.
IdeaProject withXml(Action action)
closure - The action to execute when the IPR XML has been created.
Groovy Documentation