Class IdeaModel
java.lang.Object
org.gradle.plugins.ide.idea.model.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.
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConfigures IDEA module information.Configures IDEA project information.Deprecated.Will be removed in Gradle 10.Deprecated.Will be removed in Gradle 10.voidConfigures IDEA module information.voidmodule(Action<? super IdeaModule> action) Configures IDEA module information.voidpathVariables(Map<String, File> pathVariables) Deprecated.Will be removed in Gradle 10.voidConfigures IDEA project information.voidproject(Action<? super IdeaProject> action) Configures IDEA project information.voidsetModule(IdeaModule module) Sets the module.voidsetProject(IdeaProject project) Sets the project.voidsetTargetVersion(String targetVersion) Deprecated.Will be removed in Gradle 10.voidsetWorkspace(IdeaWorkspace workspace) Deprecated.Will be removed in Gradle 10.voidDeprecated.Will be removed in Gradle 10.voidworkspace(Action<? super IdeaWorkspace> action) Deprecated.Will be removed in Gradle 10.
-
Constructor Details
-
IdeaModel
public IdeaModel()
-
-
Method Details
-
getModule
Configures IDEA module information.For examples see docs for
IdeaModule.- Since:
- 1.0
-
setModule
-
getProject
Configures IDEA project information.For examples see docs for
IdeaProject.- Since:
- 1.0
-
setProject
-
getWorkspace
Deprecated.Will be removed in Gradle 10.Configures IDEA workspace information.For examples see docs for
IdeaWorkspace.- Since:
- 1.0
-
setWorkspace
Deprecated.Will be removed in Gradle 10.Set workspace.- Since:
- 1.0
-
getTargetVersion
Deprecated.Will be removed in Gradle 10.Configures the target IDEA version.- Since:
- 2.12
-
setTargetVersion
Deprecated.Will be removed in Gradle 10.Sets the target IDEA version.- Since:
- 2.12
-
module
Configures IDEA module information.For examples see docs for
IdeaModule.- Since:
- 1.0
-
module
Configures IDEA module information.For examples see docs for
IdeaModule.- Since:
- 3.5
-
project
Configures IDEA project information.For examples see docs for
IdeaProject.- Since:
- 1.0
-
project
Configures IDEA project information.For examples see docs for
IdeaProject.- Since:
- 3.5
-
workspace
Deprecated.Will be removed in Gradle 10.Configures IDEA workspace information.For examples see docs for
IdeaWorkspace.- Since:
- 1.0
-
workspace
Deprecated.Will be removed in Gradle 10.Configures IDEA workspace information.For examples see docs for
IdeaWorkspace.- Since:
- 3.5
-
pathVariables
Deprecated.Will be removed in Gradle 10.Adds path variables to be used for replacing absolute paths in resulting files (*.iml, etc.).For example see docs for
IdeaModule.- Parameters:
pathVariables- A map with String->File pairs.- Since:
- 1.0
-