Is it possible with println inside the method copy
to print all file names to the console. Or is there another option to print the copied files?
copy {
from "${source}"
into "${target}"
include "foo"
include "xyz"
println ???
}
Maybe try:
copy {
from "${source}"
into "${target}"
include "foo"
include "xyz"
eachFile { println it.name }
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With