gradle
8.3

# IdeaModel

abstract class IdeaModel

DSL-friendly model of the IDEA project information. First point of entry when it comes to customizing the IDEA generation.

See the examples in docs for IdeaModule or IdeaProject.

## Constructors

IdeaModel
Link copied to clipboard
constructor()

## Functions

module
Link copied to clipboard
open fun module(@DelegatesTo(value = IdeaModule::class) closure: Closure)
open fun module(action: Action<out Any>)
Configures IDEA module information.
pathVariables
Link copied to clipboard
open fun pathVariables(pathVariables: Map<String, File>)
Adds path variables to be used for replacing absolute paths in resulting files (*.iml, etc.).
project
Link copied to clipboard
open fun project(@DelegatesTo(value = IdeaProject::class) closure: Closure)
open fun project(action: Action<out Any>)
Configures IDEA project information.
workspace
Link copied to clipboard
open fun workspace(@DelegatesTo(value = IdeaWorkspace::class) closure: Closure)
open fun workspace(action: Action<out Any>)
Configures IDEA workspace information.

## Properties

module
Link copied to clipboard
open var module: IdeaModule
project
Link copied to clipboard
open var project: IdeaProject
targetVersion
Link copied to clipboard
open var targetVersion: String
workspace
Link copied to clipboard
open var workspace: IdeaWorkspace