i have a Gradle Task that executes a monkeyrunner script for me. I need to add this task to the normal build process for testing. Inside the script i grant some permissions that are mandatory for testing and the testing output. I can't figure out yet how i can integrate or get the Gradle Task running before the Android Tests are starting. Is this possible? Can someone help me how i can do this? All those solution inside SO Threads didn't help me yet!
Thanks for help!