# GradleProject

interface GradleProject : HierarchicalElement, BuildableElement, ProjectModel

Represents a Gradle project.

#### Since

1.0-milestone-5

## Functions

findByPath
Link copied to clipboard
@Nullable
abstract fun findByPath(path: String): @Nullable GradleProject
Searches all descendants (children, grand-children, etc.), including self, by given path.
getBuildDirectory
Link copied to clipboard
abstract fun getBuildDirectory(): File
Returns the build directory for this project.
getBuildScript
Link copied to clipboard
abstract fun getBuildScript(): GradleScript
Returns the build script for this project.
getBuildTreePath
Link copied to clipboard
@Incubating
abstract fun getBuildTreePath(): String
Returns a path to the project for the full build tree
getChildren
Link copied to clipboard
abstract fun getChildren(): DomainObjectSet<out GradleProject>
getDescription
Link copied to clipboard
abstract fun getDescription(): @Nullable String
getName
Link copied to clipboard
abstract fun getName(): String
getParent
Link copied to clipboard
abstract fun getParent(): GradleProject
getPath
Link copied to clipboard
abstract fun getPath(): String
Returns the path of this project.
getProjectDirectory
Link copied to clipboard
abstract fun getProjectDirectory(): File
Returns the project directory for this project.
getProjectIdentifier
Link copied to clipboard
abstract fun getProjectIdentifier(): ProjectIdentifier
Returns the identifier for this Gradle project.
getTasks
Link copied to clipboard
abstract fun getTasks(): DomainObjectSet<out GradleTask>