I have several instrumentation tests that I want to run as part of a build pipeline. I’m assembling and installing the APK on the device in a previous step and don’t want it to run through that process for the module again when I run ./gradlew app:cAT
, is there an easy way to do that?
I thought I could maybe used the -x
flag
-x, --exclude-task Specify a task to be excluded from execution.
However running ./gradlew app:cAT -x assembleDebug
doesn’t appear to work as expected.
You need to sign in to view this answers
Leave feedback about this