Chapter 5. Android Flavors
One of the problems that many Android developers have to deal with, regardless of the build tool they are using, is the ability to create different versions of their application based on the same code base with slightly different settings, set of features, and so on. In this chapter, we discuss how we can configure Maven to automate the process of creating different application versions. In particular, we cover the following:
- Introduction to Maven profiles
- Creating profiles with different package inclusions
- Dynamically modifying project's package in manifest file
- Managing Android libraries with Maven