Gradle builds for every resource folder

Viewed 2010

Is it possible to config Gradle to build few android apk files where each would be using only one resource-type folder?

I mean:

  • build-hdpi.apk
  • build-mdpi.apk
  • build-xhdpi.apk

I know I could simply remove certain folders before building, but it would be nice if I could make it "automagically".

Would it be possible with using gradle "flavors"?

2 Answers
Related