Class Project
java.lang.Object
org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
org.gradle.plugins.ide.idea.model.Project
- All Implemented Interfaces:
org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject
@Deprecated
public class Project
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Deprecated.
Will be removed in Gradle 10.
Represents the customizable elements of an ipr (via XML hooks everything of the ipr is customizable).
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModulePath(File moduleFile) Deprecated.Adds a module to the module paths included in the Project.voidconfigure(List<IdeaModule> modules, String jdkName, IdeaLanguageLevel languageLevel, JavaVersion bytecodeVersion, Collection<String> wildcards, Collection<ProjectLibrary> projectLibraries, String vcs) Deprecated.Configure.booleanDeprecated.protected StringDeprecated.getJdk()Deprecated.Represent the jdk information of the project java sdk.Deprecated.A set ofPathinstances pointing to the modules contained in the ipr.Deprecated.The project-level libraries of the IDEA project.getVcs()Deprecated.The vcs used by the project.Deprecated.A set of wildcard string to be included/excluded from the resources.inthashCode()Deprecated.protected voidDeprecated.voidDeprecated.Sets the jdk.voidsetModulePaths(Set<Path> modulePaths) Deprecated.Sets the module paths.voidsetProjectLibraries(Set<ProjectLibrary> projectLibraries) Deprecated.Sets the project libraries.voidDeprecated.Sets the vcs.voidsetWildcards(Set<String> wildcards) Deprecated.Sets the wildcards.protected voidDeprecated.Methods inherited from class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
findFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformActionMethods inherited from class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
load, loadDefaults, store
-
Constructor Details
-
Project
Deprecated.Creates a newProject.- Since:
- 1.0
-
-
Method Details
-
getModulePaths
-
setModulePaths
-
addModulePath
Deprecated.Adds a module to the module paths included in the Project.- Parameters:
moduleFile- path to the module's module file- Since:
- 4.0
-
getWildcards
-
setWildcards
-
getJdk
-
setJdk
-
getVcs
-
setVcs
-
getProjectLibraries
Deprecated.The project-level libraries of the IDEA project.- Since:
- 1.5
-
setProjectLibraries
Deprecated.Sets the project libraries.- Since:
- 1.5
-
getDefaultResourceName
Deprecated.- Specified by:
getDefaultResourceNamein classorg.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
-
configure
public void configure(List<IdeaModule> modules, String jdkName, IdeaLanguageLevel languageLevel, JavaVersion bytecodeVersion, Collection<String> wildcards, Collection<ProjectLibrary> projectLibraries, String vcs) Deprecated.Configure.- Since:
- 2.12
-
load
Deprecated.- Overrides:
loadin classorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
store
Deprecated.- Overrides:
storein classorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
equals
-
hashCode
-