BuildableElement, Element, HierarchicalElement, Model, ProjectModelpublic interface GradleProject extends HierarchicalElement, BuildableElement, ProjectModel
| Modifier and Type | Method | Description | 
|---|---|---|
| GradleProject | findByPath(String path) | Searches all descendants (children, grand-children, etc.), including self, by given path. | 
| File | getBuildDirectory() | Returns the build directory for this project. | 
| GradleScript | getBuildScript() | Returns the build script for this project. | 
| DomainObjectSet<? extends GradleProject> | getChildren() | Returns the child elements, or the empty set if there are no child elements. | 
| GradleProject | getParent() | Returns the parent of this element, or  nullif there is no parent. | 
| String | getPath() | Returns the path of this project. | 
| File | getProjectDirectory() | Returns the project directory for this project. | 
| ProjectIdentifier | getProjectIdentifier() | Returns the identifier for this Gradle project. | 
| DomainObjectSet<? extends GradleTask> | getTasks() | Returns the tasks of this project. | 
getDescription, getNameProjectIdentifier getProjectIdentifier()
getProjectIdentifier in interface ProjectModelDomainObjectSet<? extends GradleTask> getTasks()
getTasks in interface BuildableElementGradleProject getParent()
null if there is no parent.getParent in interface HierarchicalElementnull if there is no parent.DomainObjectSet<? extends GradleProject> getChildren()
getChildren in interface HierarchicalElementString getPath()
@Nullable GradleProject findByPath(String path)
null if not found.GradleScript getBuildScript() throws UnsupportedMethodException
UnsupportedMethodException - For Gradle versions older than 1.8, where this method is not supported.File getBuildDirectory() throws UnsupportedMethodException
UnsupportedMethodException - For Gradle versions older than 2.0, where this method is not supported.File getProjectDirectory() throws UnsupportedMethodException
UnsupportedMethodException - For Gradle versions older than 2.4, where this method is not supported.