30 任务的执行顺序、关闭与开启、超时、查找
任务的执行顺序
动态分配任务
4.times { counter -> tasks.register("task$counter") { doLast { println "hello $counter" } } }
最后更新于
4.times { counter ->
tasks.register("task$counter") {
doLast {
println "hello $counter"
}
}
}最后更新于