Class IdeaWorkspace
java.lang.Object
org.gradle.plugins.ide.idea.model.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:
plugins {
id 'java'
id 'idea'
}
idea.workspace.iws.withXml { provider ->
provider.asNode().appendNode('gradleRocks', 'true')
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIws()Enables advanced manipulation of the output XML.voidEnables advanced manipulation of the output XML.voidiws(Action<? super XmlFileContentMerger> action) Enables advanced manipulation of the output XML.voidmergeXmlWorkspace(Workspace xmlWorkspace) void
-
Constructor Details
-
IdeaWorkspace
public IdeaWorkspace()
-
-
Method Details
-
getIws
Enables advanced manipulation of the output XML.For example see docs for
IdeaWorkspace -
setIws
-
iws
Enables advanced manipulation of the output XML.For example see docs for
IdeaWorkspace -
iws
Enables advanced manipulation of the output XML.For example see docs for
IdeaWorkspace- Since:
- 3.5
-
mergeXmlWorkspace
-