#worker-api
Posts
-
Digging into Gradle's Source 9: The Task Graph and the Execution Plan — What, in What Order, How Many at Once
How does the pA in gradle pA become packageApp? What do dependsOn, mustRunAfter, shouldRunAfter and finalizedBy turn into inside the execution plan, and who decides the order? Who picks the next node while the build runs, what exactly do --parallel and --max-workers limit, and how does the Worker API split up the work inside a single task? We answer each question from the source at a fixed commit and from examples we actually ran (whenReady, --dry-run, thread names, jstack).