public class IdeaWorkspace extends Object
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') }
Constructor and Description |
---|
IdeaWorkspace() |
Modifier and Type | Method and Description |
---|---|
XmlFileContentMerger |
getIws()
Enables advanced manipulation of the output XML.
|
void |
iws(Closure closure)
Enables advanced manipulation of the output XML.
|
void |
mergeXmlWorkspace(Workspace xmlWorkspace) |
void |
setIws(XmlFileContentMerger iws) |
public XmlFileContentMerger getIws()
For example see docs for IdeaWorkspace
public void setIws(XmlFileContentMerger iws)
public void iws(Closure closure)
For example see docs for IdeaWorkspace
public void mergeXmlWorkspace(Workspace xmlWorkspace)