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 SummaryConstructors
- 
Method SummaryModifier 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- 
IdeaWorkspacepublic IdeaWorkspace()
 
- 
- 
Method Details- 
getIwsEnables advanced manipulation of the output XML.For example see docs for IdeaWorkspace
- 
setIws
- 
iwsEnables advanced manipulation of the output XML.For example see docs for IdeaWorkspace
- 
iwsEnables advanced manipulation of the output XML.For example see docs for IdeaWorkspace- Since:
- 3.5
 
- 
mergeXmlWorkspace
 
-