Commit 3ee8dacf by pye52

暂时屏蔽daemon的自动打包脚本(打包出来的apk未签名)

parent 4143422a
......@@ -25,24 +25,24 @@ allprojects {
task clean(type: Delete) {
delete rootProject.buildDir
Task appPreBuildTask;
Task daemonBuildTask;
subprojects.forEach { project ->
if (project.name == "app") {
Set<Task> appPreBuildTasks = project.getTasksByName("preBuild", false)
if (!appPreBuildTasks.isEmpty()) {
appPreBuildTask = appPreBuildTasks[0]
}
} else if (project.name == "daemon") {
Set<Task> daemonAssembleReleaseTasks = project.getTasksByName("assembleRelease", false)
if (!daemonAssembleReleaseTasks.isEmpty()) {
daemonBuildTask = daemonAssembleReleaseTasks[0]
}
}
}
if (appPreBuildTask != null && daemonBuildTask != null) {
appPreBuildTask.dependsOn(daemonBuildTask)
}
// Task appPreBuildTask;
// Task daemonBuildTask;
//
// subprojects.forEach { project ->
// if (project.name == "app") {
// Set<Task> appPreBuildTasks = project.getTasksByName("preBuild", false)
// if (!appPreBuildTasks.isEmpty()) {
// appPreBuildTask = appPreBuildTasks[0]
// }
// } else if (project.name == "daemon") {
// Set<Task> daemonAssembleReleaseTasks = project.getTasksByName("assembleRelease", false)
// if (!daemonAssembleReleaseTasks.isEmpty()) {
// daemonBuildTask = daemonAssembleReleaseTasks[0]
// }
// }
// }
//
// if (appPreBuildTask != null && daemonBuildTask != null) {
// appPreBuildTask.dependsOn(daemonBuildTask)
// }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment