need help with Gradle tasks. I need to run some "taskX" after an app was installed (after "installDebug" task). I've also tried to make the task like this:
task taskX(type: Exec, dependsOn: 'installDebug') {
commandLine 'sh', './myScript.sh'
}
but it didn't execute. I actually can do this by Android Studio build configuration, but I also want to do this by Gradle wrapper.