IdeaWorkspace

API Documentation: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:

apply plugin: 'java'
apply plugin: 'idea'

idea.workspace.iws.withXml { provider ->
    provider.asNode().appendNode('gradleRocks', 'true')
}

Properties

PropertyDescription
iws

Enables advanced manipulation of the output XML.

Methods

MethodDescription
iws(action)

Enables advanced manipulation of the output XML.

Script blocks

BlockDescription
iws

Enables advanced manipulation of the output XML.

Property details

Enables advanced manipulation of the output XML.

For example see docs for IdeaWorkspace

Method details

void iws(Action<? super XmlFileContentMerger> action)

Enables advanced manipulation of the output XML.

For example see docs for IdeaWorkspace

Script block details

iws { }

Enables advanced manipulation of the output XML.

For example see docs for IdeaWorkspace

Delegates to:
XmlFileContentMerger from iws