The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.
There are lots of things you can do given a full scripting language as the basis for your build system. This chapter represents a collection of tips for things that you can do that go beyond stock capabilities provided by the Android Gradle Plugin.
Understanding this chapter requires that you have read the chapters that introduce Gradle and cover basic Gradle/Android integration, including the project structure.
The preview of this section was lost due to a rupture in the space-time continuum.
The preview of this section was the victim of a MITM ('Martian in the middle') attack.
The preview of this section will not appear here for a while, due to a time machine mishap.