IdeaModel

abstract class IdeaModel(source)

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

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var module: IdeaModule
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun module(@DelegatesTo(value = IdeaModule::class) closure: Closure)
open fun module(action: Action<in IdeaModule>)
Configures IDEA module information.
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.).
Link copied to clipboard
open fun project(@DelegatesTo(value = IdeaProject::class) closure: Closure)
open fun project(action: Action<in IdeaProject>)
Configures IDEA project information.
Link copied to clipboard
open fun workspace(@DelegatesTo(value = IdeaWorkspace::class) closure: Closure)
open fun workspace(action: Action<in IdeaWorkspace>)
Configures IDEA workspace information.