api / org.gradle.tooling.model / BuildableElement

BuildableElement

interface BuildableElement : Element

Represents an element which has Gradle tasks associated with it.

Since
1.0-milestone-5

Functions

getTasks

abstract fun getTasks(): DomainObjectSet<out Task>

Returns the tasks of this project.

Inherited Functions

getDescription

abstract fun getDescription(): String

Returns the description of the element, or null if it has no description.

getName

abstract fun getName(): String

Returns the name of the element. Note that the name is not a unique identifier.

Inheritors

GradleProject

interface GradleProject : HierarchicalElement, BuildableElement, ProjectModel

Represents a Gradle project.