From the course: Learning Gradle
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Build files and conventions4m 29s
-
(Locked)
Defining and configuring a task5m 28s
-
(Locked)
The directed acyclic graph (DAG)2m 44s
-
(Locked)
Build lifecycle phases2m 41s
-
(Locked)
Applying reusable functionality with plugins3m 20s
-
(Locked)
Domain object runtime representation2m 44s
-
(Locked)
Referencing the documentation2m 30s
-
(Locked)
Challenge: Define and execute a task1m 29s
-
(Locked)
Solution: Define and execute a task7m 55s
-
(Locked)
-