From the course: Learning Gradle

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Domain object runtime representation

Domain object runtime representation

From the course: Learning Gradle

Start my 1-month free trial

Domain object runtime representation

- [Narrator] In one of the previous videos, we discussed that Gradle builds a directed acyclic graph for tasks and dependencies between them. The representation of those tasks as objects and memory is only one example of so-called domain objects Gradle makes available to end users of a build. Domain objects can be cleared from a build script, inspected and modified. That's a feature that many other build tools do not provide. In this video, I want to recapture the most important domain objects and their hierarchy. In the next video, we will make the connection from those domain objects to the corresponding documentation. Every invocation of a greater build is represented by a domain object called Gradle. This domain object has knowledge about the project hierarchy in a single project, or multi-project build provides pointers to the higher level properties of a build. For example, the Gradle user home directory or the…

Contents