Logging 如何记录gradle copy方法的文件?
使用方法Logging 如何记录gradle copy方法的文件?,logging,gradle,copy,println,Logging,Gradle,Copy,Println,使用方法copy中的println是否可以将所有文件名打印到控制台。或者是否有其他选项来打印复制的文件 copy { from "${source}" into "${target}" include "foo" include "xyz" println ??? } 也许可以试试: copy { from "${source}" into "${target}" include "foo" include "xyz" eachFile { p
copy
中的println是否可以将所有文件名打印到控制台。或者是否有其他选项来打印复制的文件
copy {
from "${source}"
into "${target}"
include "foo"
include "xyz"
println ???
}
也许可以试试:
copy {
from "${source}"
into "${target}"
include "foo"
include "xyz"
eachFile { println it.name }
}