📜  如何使用 gradle 任务复制多个文件 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:47.537000             🧑  作者: Mango

代码示例1
task copyFiles (type: Copy, dependsOn: otherTask) { 
   with copySpec({ 
      from "${buildDir}/wrapper-linux-${jswArc}-${jswVersion}/bin/wrapper"
      into "$felix_tree/bin" 
      
      from "${buildDir}/wrapper-linux-${jswArc}-${jswVersion}/bin/wrapper"
      into "$felix_tree/bin" 
   }) 
   ... 
}