For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

BuildableElement

Represents an element which has Gradle tasks associated with it.

Since

1.0

Inheritors

Functions

Link copied to clipboard
@Nullable
abstract fun getDescription(): @Nullable String
Returns the description of the element, or null if it has no description.
Link copied to clipboard
abstract fun getName(): String
Returns the name of the element.
Link copied to clipboard
abstract fun getTasks(): DomainObjectSet<out Task>
Returns the tasks of this project.