Groovy Documentation

org.gradle.plugins.ide.idea.model
[Groovy] Class IdeaWorkspace

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

class IdeaWorkspace
extends java.lang.Object

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')
 }
 
Authors:
Szczepan Faber, created at: 06/09/11


Property Summary
XmlFileContentMerger iws

Enables advanced manipulation of the output xml

For example see docs for IdeaWorkspace

 
Method Summary
void iws(groovy.lang.Closure closure)

Enables advanced manipulation of the output xml

For example see docs for IdeaWorkspace

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

iws

XmlFileContentMerger iws
Enables advanced manipulation of the output xml

For example see docs for IdeaWorkspace


 
Method Detail

iws

void iws(groovy.lang.Closure closure)
Enables advanced manipulation of the output xml

For example see docs for IdeaWorkspace

Parameters:
closure


 

Groovy Documentation