The complete model of an Eclipse project.
Note that the names of Eclipse projects are unique, and can be used as an identifier for the project.
Type | Name and description |
---|---|
DomainObjectSet<? extends EclipseBuildCommand> |
getBuildCommands() Returns the Eclipse build commands configured on the project. |
DomainObjectSet<? extends EclipseProject> |
getChildren() {@inheritDoc} |
DomainObjectSet<? extends ExternalDependency> |
getClasspath() Returns the external dependencies which make up the classpath of this project. |
GradleProject |
getGradleProject() The gradle project that is associated with this project. |
EclipseProject |
getParent() {@inheritDoc} |
DomainObjectSet<? extends EclipseProjectNature> |
getProjectNatures() Returns the Eclipse natures configured on the project. |
Methods inherited from class | Name |
---|---|
interface HasGradleProject |
getGradleProject |
interface HierarchicalEclipseProject |
getChildren, getLinkedResources, getParent, getProjectDependencies, getProjectDirectory, getSourceDirectories |
interface HierarchicalElement |
getChildren, getParent |
interface Element |
getDescription, getName |
Returns the Eclipse build commands configured on the project.
If the Gradle project applies a plugin which is recognized by 'eclipse' plugin then the corresponding
build command will be automatically part of the result. For example, if the project applies the 'java' plugin the
result will contain the "org.eclipse.jdt.core.javabuilder"
build command. The
'scala' plugin behaves similarly: when applied then the result will contain the
"org.scala-ide.sdt.core.scalabuilder"
entry.
The result can be customized via the 'eclipse' plugin configuration.
{@inheritDoc}
Returns the external dependencies which make up the classpath of this project.
The gradle project that is associated with this project. Typically, a single Eclipse project corresponds to a single gradle project.
See HasGradleProject
{@inheritDoc}
Returns the Eclipse natures configured on the project.
If the Gradle project applies a plugin which is recognized by 'eclipse' plugin then the corresponding
nature will be automatically part of the result. For example, if the project applies the 'java' plugin the
result will contain the "org.eclipse.jdt.core.javanature"
entry. The 'scala' plugin behaves similarly:
when applied then the result will contain the "org.scala-ide.sdt.core.scalanature"
entry.
The result can be customized via the 'eclipse' plugin configuration.