gradle
8.3

# GradleProject

interface GradleProject : HierarchicalElement, BuildableElement, ProjectModel

Represents a Gradle project.

## Functions

findByPath
Link copied to clipboard
@Nullable
abstract fun findByPath(path: String): 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.
getChildren
Link copied to clipboard
abstract fun getChildren(): DomainObjectSet<out GradleProject>
getDescription
Link copied to clipboard
abstract fun getDescription(): 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>