I have an android project containing 2 modules. One is the main app module that has a ‘regular’ and ‘premium’ product flavor. The other module is a library the app module uses. There is a subdirectory of models that only pertain to the ‘premium’ product flavor. I would like to exclude that directory from the ‘regular’ flavor’s apk; how can I accomplish that? Thank you.
-app
-myLib
–>tools
–>premiumModels (I want to exclude this subdir from the app module if I’m building the ‘regular’ flavor)