Is it possible to have dependencies by flavor or build type using
I'm using test-butler and using this line to get the apk onto the device before tests run:
androidTestUtil 'com.linkedin.testbutler:test-butler-app:[email protected]'
However I want to be able to run tests on a physical device without test-butler, without having to modify my gradle file when I'm testing.
The solution provided by this question dependencies by flavor in android studio build.gradle file, is it possible? doesn't really work with this androidTestUtil, I'm wondering if there is another way?
With the flavor
releaseTestandroidTestUtil 'com.linkedin.testbutler:test-butler-app:[email protected]'