Hello everyone, I have been messing with gradle at work and we are convinced we can replace ant with gradle while still maintaining our current dist directories. I am running into a problem adding copy tasks to through a plugin.
I have asked this question on stackoverflow but maybe it should be here. I’m looking for any leads to help figure this out.
I need to be able to configure the from, include, exclude, and into methods from inside a plugin using values from an extension. Has anyone tried this? I have’t been able to find very many examples of this. I believe my problem is when I use a gstring the value is not being set lazily.
Thanks for the info. The example was a simple version. I do have about 5 tasks for this. I discovered project.copy and decided to use that 5 times in the execution of a task instead. This way there is only one task for the user and it is configured from the extension. It seems to be working well.