Commit eb5e1494 by pye52

删除自动打包脚本

parent 885de2dc
...@@ -28,24 +28,24 @@ allprojects { ...@@ -28,24 +28,24 @@ allprojects {
task clean(type: Delete) { task clean(type: Delete) {
delete rootProject.buildDir delete rootProject.buildDir
Task appPreBuildTask; // Task appPreBuildTask;
Task daemonBuildTask; // Task daemonBuildTask;
//
subprojects.forEach { project -> // subprojects.forEach { project ->
if (project.name == "app") { // if (project.name == "app") {
Set<Task> appPreBuildTasks = project.getTasksByName("preBuild", false) // Set<Task> appPreBuildTasks = project.getTasksByName("preBuild", false)
if (!appPreBuildTasks.isEmpty()) { // if (!appPreBuildTasks.isEmpty()) {
appPreBuildTask = appPreBuildTasks[0] // appPreBuildTask = appPreBuildTasks[0]
} // }
} else if (project.name == "daemon") { // } else if (project.name == "daemon") {
Set<Task> daemonAssembleReleaseTasks = project.getTasksByName("assembleRelease", false) // Set<Task> daemonAssembleReleaseTasks = project.getTasksByName("assembleRelease", false)
if (!daemonAssembleReleaseTasks.isEmpty()) { // if (!daemonAssembleReleaseTasks.isEmpty()) {
daemonBuildTask = daemonAssembleReleaseTasks[0] // daemonBuildTask = daemonAssembleReleaseTasks[0]
} // }
} // }
} // }
//
if (appPreBuildTask != null && daemonBuildTask != null) { // if (appPreBuildTask != null && daemonBuildTask != null) {
appPreBuildTask.dependsOn(daemonBuildTask) // appPreBuildTask.dependsOn(daemonBuildTask)
} // }
} }
...@@ -16,7 +16,7 @@ android { ...@@ -16,7 +16,7 @@ android {
canteen { canteen {
keyAlias 'town' keyAlias 'town'
keyPassword 'maxrocky' keyPassword 'maxrocky'
storeFile file('./canteen.jks') storeFile file('canteen.jks')
storePassword 'maxrocky' storePassword 'maxrocky'
} }
buildTypes { 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