| API Documentation: | 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.
| Property | Description |
module | Configures IDEA module information. |
project | Configures IDEA project information. |
targetVersion | Configures the target IDEA version. |
workspace | Deprecated Configures IDEA workspace information. |
| Method | Description |
module(action) | Configures IDEA module information. |
pathVariables(pathVariables) | Adds path variables to be used for replacing absolute paths in resulting files (*.iml, etc.). |
project(action) | Configures IDEA project information. |
workspace(action) | Deprecated Configures IDEA workspace information. |
String targetVersion
Configures the target IDEA version.
IdeaWorkspace workspace
Note: This property is deprecated and will be removed in the next major version of Gradle.
Configures IDEA workspace information.
For examples see docs for IdeaWorkspace.
void module(Action<? super IdeaModule> action)
Action<? super IdeaModule>Configures IDEA module information.
For examples see docs for IdeaModule.
Adds path variables to be used for replacing absolute paths in resulting files (*.iml, etc.).
For example see docs for IdeaModule.
void project(Action<? super IdeaProject> action)
Action<? super IdeaProject>Configures IDEA project information.
For examples see docs for IdeaProject.
void workspace(Action<? super IdeaWorkspace> action)
Action<? super IdeaWorkspace>Note: This method is deprecated and will be removed in the next major version of Gradle.
Configures IDEA workspace information.
For examples see docs for IdeaWorkspace.
Configures IDEA module information.
For examples see docs for IdeaModule.
- Delegates to:
IdeaModulefrommodule
Configures IDEA project information.
For examples see docs for IdeaProject.
- Delegates to:
IdeaProjectfromproject
Note: This script block is deprecated and will be removed in the next major version of Gradle.
Configures IDEA workspace information.
For examples see docs for IdeaWorkspace.
- Delegates to:
IdeaWorkspacefromworkspace