Split ANDROID_GRADLE_TASK based on spaces
This commit is contained in:
committed by
Joshua Granick
parent
a213294661
commit
7384e58ee1
@@ -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 (" "));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user