android tutorial - Ignoring build variant in Android | Developer android - android app development - android studio - android app developement
Ignoring build variant
- For some reasons you may want to ignore your build variants. For example: you have 'mock' product flavour and you use it only for debug purposes, such as unit/instrumentation tests.
Let's ignore mockRelease variant from our project. Open build.gradle file and write: