Build
Build lifecycle
There are more events to listen in BuildListener.
We can access build settings in the build file.
Keep in mind that there are 3 phases during build:
Initialization
Configuration
Execution
settingsEvaluated
is called during Initialization phase.
Deamon mode
Deamon mode is started by default. We can disable it for task execution. Also, we can stop the deamon if needed.
Partial build
We can tell Gradle to not to rebuild project in order to speed up the build time. That might be valid for project with a lot of modules.
Also, we can only build the dependents.