0
摇篮copySpec包括关闭不工作:gradle这个副本包括关闭不工作
def fileList = ["hello/world.xml"]
task foo(type: Copy) {
from (zipTree("/path/a.zip")) {
include { elem ->
fileList.contains(elem.path)
}
}
}
的a.zip包含 “你好/ world.xml”。
消息:需要用复制任务使用
Skipping task 'foo' as it has no source files and no previous output files.