# Class IdeaWorkspace

java.lang.Object
org.gradle.plugins.ide.idea.model.IdeaWorkspace

@Deprecated public abstract class IdeaWorkspace extends Object
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
  Constructor
  Description
  `IdeaWorkspace()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `XmlFileContentMerger`
  `getIws()`
  Deprecated.
  Enables advanced manipulation of the output XML.
  `void`
  `iws(Closure closure)`
  Deprecated.
  Enables advanced manipulation of the output XML.
  `void`
  `iws(Action<? super XmlFileContentMerger> action)`
  Deprecated.
  Enables advanced manipulation of the output XML.
  `void`
  `mergeXmlWorkspace(Workspace xmlWorkspace)`
  Deprecated.
  `void`
  `setIws(XmlFileContentMerger iws)`
  Deprecated.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### IdeaWorkspace

    @Inject public IdeaWorkspace()
    Deprecated.

- ## Method Details

  - ### getIws

    public XmlFileContentMerger getIws()
    Deprecated.
    Enables advanced manipulation of the output XML.

    For example see docs for `IdeaWorkspace`

  - ### setIws

    public void setIws(XmlFileContentMerger iws)
    Deprecated.

  - ### iws

    public void iws(@DelegatesTo(XmlFileContentMerger.class) Closure closure)
    Deprecated.
    Enables advanced manipulation of the output XML.

    For example see docs for `IdeaWorkspace`

  - ### iws

    public void iws(Action<? super XmlFileContentMerger> action)
    Deprecated.
    Enables advanced manipulation of the output XML.

    For example see docs for `IdeaWorkspace`

    Since:
      3.5

  - ### mergeXmlWorkspace

    public void mergeXmlWorkspace(Workspace xmlWorkspace)
    Deprecated.