Package: org.gradle.plugins.ide.idea

## [Groovy] Class GenerateIdeaModule

- org.gradle.plugins.ide.idea.GenerateIdeaModule

- Generates an IDEA module file. If you want to fine tune the idea configuration

  Please refer to interesting examples on idea configuration in IdeaModule.

  At this moment nearly all configuration is done via IdeaModule.

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class GeneratorTask` | `afterConfigured, beforeConfigured, domainObject, generator`

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `IdeaModule` | `module` The Idea module model containing the details required to generate the module file.

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `protected void` | `configure(Module xmlModule)`
    `protected Module` | `create()`
    `File` | `getOutputFile()` Configures output *.iml file.
    `void` | `setOutputFile(File newOutputFile)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class XmlGeneratorTask` | `configure, create, getXmlTransformer`
    `class GeneratorTask` | `getInputFile, getInstantiator, getOutputFile, setInputFile, setOutputFile`

- - ### Property Detail

    - #### IdeaModule module

      The Idea module model containing the details required to generate the module file.

  - ### Method Detail

    - #### @Override protected void configure(Module xmlModule)

    - #### @Override protected Module create()

    - #### File getOutputFile()

      Configures output *.iml file. It's optional because the task should configure it correctly for you (including making sure it is unique in the multi-module build). If you really need to change the output file name it is much easier to do it via the idea.module.name property.

      Please refer to documentation in IdeaModule name property. In IntelliJ IDEA the module name is the same as the name of the *.iml file.

    - #### void setOutputFile(File newOutputFile)