Class IdeaWorkspace

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

public class IdeaWorkspace extends 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')
 }
 
  • Constructor Details

    • IdeaWorkspace

      public IdeaWorkspace()
  • Method Details