#tasks
Posts
-
Digging into Gradle's Source 8: Tasks and Lazy Configuration — DefaultTask, TaskContainer and Provider
A single tasks.register line does not create a task. We follow when the TaskCreatingProvider that only holds a name and a configuration block becomes a real task, how configureEach reaches tasks that exist now and tasks that come later, which APIs like withType { } quietly create every task, how TaskFactory and DefaultTask hold the action list, why a Provider that carries "the task that makes this value" gives you ordering without dependsOn, and the three ways a Property gets locked — checked against the source with three runnable examples.