api / org.gradle.tooling.model.idea / BasicIdeaProject

BasicIdeaProject

interface BasicIdeaProject : IdeaProject

IdeaProject that does not provide/resolve any external dependencies. Only project dependencies and local file dependencies are included on the modules' classpath.

Useful for 'previewing' the output model of IdeaProject because it is supposed to be fast (e.g. does not download dependencies from the web).

Since
1.0-milestone-5

Inherited Functions

getChildren

abstract fun getChildren(): DomainObjectSet<out IdeaModule>

Returns the modules of this IDEA project. Most projects have at least one module. Alias for #getModules().

getJavaLanguageSettings

abstract fun getJavaLanguageSettings(): IdeaJavaLanguageSettings

Returns the Java language settings for this project.

getJdkName

abstract fun getJdkName(): String

Returns the name of the JDK.

getLanguageLevel

abstract fun getLanguageLevel(): IdeaLanguageLevel

Returns the language level to use within the current project.

Note: To determine the project language level IdeaModule#getJavaLanguageSettings() should be preferred.

getModules

abstract fun getModules(): DomainObjectSet<out IdeaModule>

Returns the modules of this IDEA project. Most projects have at least one module. Alias for #getChildren().