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. |
EclipseJavaSourceSettings |
getJavaSourceSettings() {@inheritDoc} |
EclipseProject |
getParent() {@inheritDoc} |
DomainObjectSet<? extends EclipseProjectNature> |
getProjectNatures() Returns the Eclipse natures configured on the project. |
Methods inherited from class | Name |
---|---|
interface HierarchicalEclipseProject |
getChildren, getLinkedResources, getParent, getProjectDependencies, getProjectDirectory, getSourceDirectories |
interface HasGradleProject |
getGradleProject |
interface JavaSourceAware |
getJavaSourceSettings |
Returns the Eclipse build commands configured on the project.
Some build commands are automatically added to the result based on the Gradle plugins applied on the project.
For example, if the project applies the 'java' plugin the result will contain the
"org.eclipse.jdt.core.javabuilder"
build command. Note, that the exact list of automatically
added build commands is not part of the API and can vary between Gradle releases.
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}
{@inheritDoc}
Returns the Eclipse natures configured on the project.
Some natures are automatically added to the result based on the Gradle plugins applied on the project.
For example, if the project applies the 'java' plugin the result will contain the
"org.eclipse.jdt.core.javanature"
entry. Note, that the exact list of automatically added
natures is not part of the API and can vary between Gradle releases.
The result can be customized via the 'eclipse' plugin configuration.