Class IdeaWorkspace
- java.lang.Object
-
- org.gradle.plugins.ide.idea.model.IdeaWorkspace
-
public abstract class IdeaWorkspace extends java.lang.ObjectEnables 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 Constructor Description IdeaWorkspace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlFileContentMergergetIws()Enables advanced manipulation of the output XML.voidiws(Closure closure)Enables advanced manipulation of the output XML.voidiws(Action<? super XmlFileContentMerger> action)Enables advanced manipulation of the output XML.voidmergeXmlWorkspace(Workspace xmlWorkspace)voidsetIws(XmlFileContentMerger iws)
-
-
-
Method Detail
-
getIws
public XmlFileContentMerger getIws()
Enables advanced manipulation of the output XML.For example see docs for
IdeaWorkspace
-
setIws
public void setIws(XmlFileContentMerger iws)
-
iws
public void iws(@DelegatesTo(XmlFileContentMerger.class) Closure closure)
Enables advanced manipulation of the output XML.For example see docs for
IdeaWorkspace
-
iws
public void iws(Action<? super XmlFileContentMerger> action)
Enables advanced manipulation of the output XML.For example see docs for
IdeaWorkspace- Since:
- 3.5
-
mergeXmlWorkspace
public void mergeXmlWorkspace(Workspace xmlWorkspace)
-
-