api / org.gradle.plugins.ide.idea.model / Project

Project

open class Project : XmlPersistableConfigurationObject

Represents the customizable elements of an ipr (via XML hooks everything of the ipr is customizable).

Constructors

<init>

Project(xmlTransformer: XmlTransformer, pathFactory: Any)

Functions

addModulePath

open fun addModulePath(moduleFile: File): Unit

Adds a module to the module paths included in the Project.

configure

open fun configure(modules: MutableList<IdeaModule>, jdkName: String, languageLevel: IdeaLanguageLevel, bytecodeVersion: JavaVersion, wildcards: MutableCollection<String>, projectLibraries: MutableCollection<ProjectLibrary>, vcs: String): Unit

equals

open fun equals(o: Any): Boolean

getJdk

open fun getJdk(): Jdk

Represent the jdk information of the project java sdk.

getModulePaths

open fun getModulePaths(): MutableSet<Path>

A set of Path instances pointing to the modules contained in the ipr.

getProjectLibraries

open fun getProjectLibraries(): MutableSet<ProjectLibrary>

The project-level libraries of the IDEA project.

getVcs

open fun getVcs(): String

The vcs used by the project.

getWildcards

open fun getWildcards(): MutableSet<String>

A set of wildcard string to be included/excluded from the resources.

hashCode

open fun hashCode(): Int

setJdk

open fun setJdk(jdk: Jdk): Unit

setModulePaths

open fun setModulePaths(modulePaths: MutableSet<Path>): Unit

setProjectLibraries

open fun setProjectLibraries(projectLibraries: MutableSet<ProjectLibrary>): Unit

setVcs

open fun setVcs(vcs: String): Unit

setWildcards

open fun setWildcards(wildcards: MutableSet<String>): Unit