|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.gradle.plugins.ide.idea.model.IdeaWorkspace
class IdeaWorkspace
Enables fine-tuning workspace details (*.iws file) of the IDEA plugin.
At the moment, the only practical way of manipulating the resulting content is via the withXml hook:
apply plugin: 'java'
apply plugin: 'idea'
idea.workspace.iws.withXml { provider ->
provider.asNode().appendNode('gradleRocks', 'true')
}
| Property Summary | |
|---|---|
XmlFileContentMerger |
iws
Enables advanced manipulation of the output xml. |
| Method Summary | |
|---|---|
void
|
iws(Closure closure)
Enables advanced manipulation of the output xml. |
void
|
mergeXmlWorkspace(Workspace xmlWorkspace)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Property Detail |
|---|
XmlFileContentMerger iws
For example see docs for IdeaWorkspace
| Method Detail |
|---|
void iws(Closure closure)
For example see docs for IdeaWorkspace
void mergeXmlWorkspace(Workspace xmlWorkspace)
Gradle API 1.5