Split ANDROID_GRADLE_TASK based on spaces

This commit is contained in:
player-03
2017-10-17 19:58:45 -04:00
committed by Joshua Granick
parent a213294661
commit 7384e58ee1

View File

@@ -45,11 +45,11 @@ class AndroidHelper {
if (PlatformHelper.hostPlatform != Platform.WINDOWS) {
ProcessHelper.runCommand ("", "chmod", [ "755", PathHelper.combine (projectDirectory, "gradlew") ]);
ProcessHelper.runCommand (projectDirectory, "./gradlew", [ task ]);
ProcessHelper.runCommand (projectDirectory, "./gradlew", task.split (" "));
} else {
ProcessHelper.runCommand (projectDirectory, "gradlew", [ task ]);
ProcessHelper.runCommand (projectDirectory, "gradlew", task.split (" "));
}
}