Use "assembleDebug" and "assembleRelease" tasks, per documentation.
This commit is contained in:
committed by
Joshua Granick
parent
b4bec36810
commit
4415278da5
@@ -28,15 +28,15 @@ class AndroidHelper {
|
||||
|
||||
}
|
||||
|
||||
var build = "debug";
|
||||
var task = "assembleDebug";
|
||||
|
||||
if (project.certificate != null) {
|
||||
|
||||
build = "release";
|
||||
task = "assembleRelease";
|
||||
|
||||
}
|
||||
|
||||
ProcessHelper.runCommand (projectDirectory, "gradlew", [ build ]);
|
||||
ProcessHelper.runCommand (projectDirectory, "gradlew", [ task ]);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user