What the question says really - can you issue any commands directly to gradlew via the command line to build, package and deploy to a device?
task appStart(type: Exec, dependsOn: 'installDebug') { commandLine android.adbExe, 'shell', 'am', 'start', '-n', 'com.example/.MyActivity' }