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





Discover More
Gradle - Build

A build is a lifecyle task that executes a graph of task Gradle executes build scripts in three fixed phases: Initialization: Sets up the environment for the build and determine which projects will...
Gradle - Project

A gradle project A gradle project has two files at the root directory of a project. - task a - configuration For a multi-project, each sub-project is a sub-directory with a build.gradle file....
Gradle - Task

A build process execute a graph of tasks. Task may just be: container (lifecycle task) or provided by plugin In execution with the wrapper of the project Tasks themselves consist of:...



Share this page:
Follow us:
Task Runner