9 Initialisation Launches the JVM (with proper params) Analyse the working directory Reads the settings.gradle file Creates the Project object(s) that will be used Compiles, test and add buildSrc to the classpath
10 Configuration Execute all the build.gradle scripts in the project Create all the Task objects and configure the Project object(s) Resolves the tasks dependencies
How does it work? ◇ Works like any module in your project ◇ Compiled and tested before any gradle task ◇ Groovy, Java, Kotlin, … ◇ Any public class / method becomes availble in gradle scripts 15