Gradle in Android Studio and finalizedBy

Ok, now I’m confused, I have 2 build.gradle files, one global, the other one in the app folder, so probably the file to only build the app that is running the tests. I don’t know how these files are connected, or what are their dependencies. Anyway, the global build.gradle doesn’t know “android” , and when I use the app build.gradle, the stopHttpServer is well called, but…at the beginning.
I feel like I’m too much a beginner in Gradle to ask questions about that :slight_smile: