I had the same question. You may have found the answer at this point, but some searches have finally led me to this website .
It seems that all the basics of Gradle very well explained. To answer your specific question, find Manifest Entries in the Basic Build Customization section. Nearby, as far as I can tell, it works great to define minSdkVersion in a build script or in AndroidManifest.
As the website explains, part of the purpose behind this design was to make it more dynamic and more easily allow the creation of multiple APKs using essentially the same code.
I probably didn’t explain it best, but this website does a pretty good job.
source share