有没有办法并行运行dependsOn任务?
我在dependsOn上有很多任务:
task compileTTS32(dependsOn: [compileTTS32Debug, compileTTS32Release])
task compileTTS64(dependsOn: [compileTTS64Debug, compileTTS64Release])
task compileTTS(dependsOn: [compileTTS32, compileTTS64])
有没有办法并行运行所有compile
个任务?
答案 0 :(得分:0)
目前没有办法做到这一点,但是如果你能够制作TTS32和TTS64单独的子项目,你应该能够通过http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:parallel_execution获得某种程度的parralellism