Things I learned in the book Gradle beyond the basics
February 16, 2015 4 Comments
Help me improve this document!
Tasks can be created by rules. These tasks are called “task rules”. They are dynamically created when a task matching their pattern is invoked.
Single project build phase
- Determine whether it’s a single project or a multi-project
- Locate the build files
- Create a
- Load the
- Execute the build file as groovy scripts, against the Project object
- DAG gets created
- Hook methods are run
- Identifies the tasks to run
- Execute the tasks marked for execution
Multi-project build phase
I am guessing that this puts a couple of loops in the configuration phase and in the execution phase…