Commit eb5e1494 by pye52

删除自动打包脚本

parent 885de2dc
......@@ -28,24 +28,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)
// }
}
......@@ -16,7 +16,7 @@ android {
canteen {
keyAlias 'town'
keyPassword 'maxrocky'
storeFile file('./canteen.jks')
storeFile file('canteen.jks')
storePassword 'maxrocky'
}
buildTypes {
......
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