# Class IdeaModuleIml

java.lang.Object
org.gradle.plugins.ide.api.FileContentMerger
org.gradle.plugins.ide.api.XmlFileContentMerger
org.gradle.plugins.ide.idea.model.IdeaModuleIml

@Deprecated public class IdeaModuleIml extends XmlFileContentMerger
Deprecated.
Will be removed in Gradle 10.
Models the generation/parsing/merging capabilities of an IDEA module.

For examples, see docs for `IdeaModule`.

Since:
  1.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IdeaModuleIml(org.gradle.internal.xml.XmlTransformer xmlTransformer, File generateTo)`
  Deprecated.
  Creates a new `IdeaModuleIml`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `File`
  `getGenerateTo()`
  Deprecated.
  Folder where the *.iml file will be generated to
  `void`
  `setGenerateTo(File generateTo)`
  Deprecated.
  Sets the generate to.

  ### Methods inherited from class XmlFileContentMerger

  `getXmlTransformer, setXmlTransformer, withXml, withXml`

  ### Methods inherited from class FileContentMerger

  `beforeMerged, beforeMerged, getBeforeMerged, getWhenMerged, setBeforeMerged, setWhenMerged, whenMerged, whenMerged`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### IdeaModuleIml

    public IdeaModuleIml(org.gradle.internal.xml.XmlTransformer xmlTransformer, File generateTo)
    Deprecated.
    Creates a new `IdeaModuleIml`.
    Since:
      1.0

- ## Method Details

  - ### getGenerateTo

    public File getGenerateTo()
    Deprecated.
    Folder where the *.iml file will be generated to

    For example see docs for `IdeaModule`

    Since:
      1.0

  - ### setGenerateTo

    public void setGenerateTo(File generateTo)
    Deprecated.
    Sets the generate to.
    Since:
      1.0