How Gradle parse build.gradle

Hi, I want to know the details how Gradle parse build.gradle which be constructed by Groovy, and I cannot figure out the parse flow by Gradle source code.

It will be more nice that anybody can introduce the related modules in Gradle source code. :slight_smile:

Chapter 55 of the Gradle documentation might be of some help.

I would also suggest you watch Groovy for Gradle Users as it may clear up some confusion on the Gradle DSL syntax and how it relates back to Groovy code.