Home Remove androidTest configuration for a specific flavor?
Reply: 0

Remove androidTest configuration for a specific flavor?

ZakTaccardi
1#
ZakTaccardi Published in 2017-11-14 22:34:39Z

I have a flavor dimension, minSdk with two flavors:

  • minSdk16
  • minSdk21.

My assembleMinSdk16AndroidTest fails to build (which is good in my use case). I want to filter out all androidTest tasks for the minSdk16 flavor.

How can I do this?

Notes

  • using android gradle plugin 3.0
  • the variant filter api does not work here because androidTest is not considered to be a variant.
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.300986 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO