Run tasks for all variants.

This commit is contained in:
Dmitry Yunitsky 2015-03-02 13:38:52 +03:00 committed by Alex Zolotarev
parent 561fbdf031
commit 7c17a68aa8

View file

@ -172,7 +172,7 @@ android {
def runTask = "run$task"
def installTask = "install$task"
project.task(type: Exec, "${runTask}", dependsOn: "${installTask}") {
def component = "com.mapswithme.maps.pro/com.mapswithme.maps.DownloadResourcesActivity"
def component = "$applicationId/com.mapswithme.maps.DownloadResourcesActivity"
executable "sh"
args "-c", "adb shell am start -n ${component}"
}