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

Remove androidTest configuration for a specific flavor?

user565
1#
user565 Published in July 17, 2018, 11:11 pm

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.34211 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO