Build fix

This commit is contained in:
Joshua Granick
2016-08-18 07:55:54 -07:00
parent 978fac419f
commit 48226e8a94

View File

@@ -42,10 +42,10 @@ class AndroidHelper {
}
if (PlatformHelper.hostPlatform != Platform.WINDOWS && targetType != "nodejs") {
if (PlatformHelper.hostPlatform != Platform.WINDOWS) {
ProcessHelper.runCommand ("", "chmod", [ "755", PathHelper.combine (projectDirectory, "gradlew.sh") ]);
ProcessHelper.runCommand (projectDirectory, "./gradlew.sh", [ task ]);
ProcessHelper.runCommand ("", "chmod", [ "755", PathHelper.combine (projectDirectory, "gradlew") ]);
ProcessHelper.runCommand (projectDirectory, "./gradlew", [ task ]);
} else {
@@ -401,4 +401,4 @@ class AndroidHelper {
}
}
}