Class IdeaWorkspace
java.lang.Object
org.gradle.plugins.ide.idea.model.IdeaWorkspace
Deprecated.
Will be removed in Gradle 10.
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()Deprecated.Enables advanced manipulation of the output XML.voidDeprecated.Enables advanced manipulation of the output XML.voidiws(Action<? super XmlFileContentMerger> action) Deprecated.Enables advanced manipulation of the output XML.voidmergeXmlWorkspace(Workspace xmlWorkspace) Deprecated.voidDeprecated.
-
Constructor Details
-
IdeaWorkspace
@Inject public IdeaWorkspace()Deprecated.
-
-
Method Details
-
getIws
Deprecated.Enables advanced manipulation of the output XML.For example see docs for
IdeaWorkspace -
setIws
Deprecated. -
iws
Deprecated.Enables advanced manipulation of the output XML.For example see docs for
IdeaWorkspace -
iws
Deprecated.Enables advanced manipulation of the output XML.For example see docs for
IdeaWorkspace- Since:
- 3.5
-
mergeXmlWorkspace
Deprecated.
-