awslabs / aws-device-farm-gradle-plugin

Gradle plugin for AWS Device Farm.
Apache License 2.0
61 stars 32 forks source link

How to specify build variant/apk file? #13

Closed lewisob closed 6 years ago

lewisob commented 7 years ago

When running "gradle devicefarmUpload" my tests run using a debug version of the app. I need to run against a release version of the app.

How can I specify a different version of the app to upload?

andreschab90 commented 7 years ago

you just have to define your buildVariants in your build.gradle

andreschab90 commented 6 years ago

@lewisob just define the test build type in the build.gradle

lewisob commented 6 years ago

Thanks.