task abc(type: Exec){
commandLine './text1.sh'
}
task def(Type:Exec){
commandLine './text2.sh'
}
task ListOfTasks(dependsOn['clean']){
doFirst{
abc.execute()
def.execute()
}
}
由于doFirst
不是并行的,并且我想并行运行这两个任务,如何实现?这可能在gradle中吗?