android tutorial - Adding product flavor specific dependencies in Android | Developer android - android app development - android studio - android app developement
Adding product flavor-specific dependencies
- Dependencies can be added for a specific product flavor, similar to how they can be added for specific build configurations.
- For this example, assume that we have already defined two product flavors called free and paid (more on defining flavors here).
We can then add the AdMob dependency for the free flavor, and the Picasso library for the paid one like so: