Gradle - Lifecycle

About

clean, check, assemble and build tasks

the standard lifecycle tasks don’t have any actions. They simply aggregate multiple tasks together.

Lifecycle

  • Create a settings object instance for the build.
  • Evaluate the settings.gradle script, if present, against the Settings object to configure it.
  • Use the configured Settings object to create the hierarchy of Project instances.
  • Finally, evaluate each Project by executing its build.gradle file, if present, against the project. The projects are evaluated in breadth-wise order, such that a project is evaluated before its child projects. This order can be overridden by calling evaluationDependsOnChildren() or by adding an explicit evaluation dependency using evaluationDependsOn(String).

Documentation


Powered by ComboStrap