Help with sync closure

Thanks for the reply. It took me a while to find information that supports what you say. Apparently sync() was never meant to be used in that manner where as copy is. I have taken your advice and that works. I setup my task with the appropriate inputs so that it only runs when needed. Once it executes, it executes a delete then a copy.

Here is the Gradle forum topic item that I eventually found:
Gradle method not found