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 ???
}
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 }
}
© 2022 - 2024 — McMap. All rights reserved.