Slackbot
01/18/2024, 7:53 PMVampire
01/19/2024, 9:19 AMcopy { ... } in it's action multiple times for multiple destination.
But that would not run in parallel.
For parallel execution you would then additionally have to use the worker API, so that the "subtasks" can be run in parallel.
Another option would be to declare multiple tasks and use configuration cache, so that the tasks can run in parallel.Fuyang Liu
01/19/2024, 9:55 AMdoLast block I just code up some kotlin code that using copyToRecursively and perhaps some parallel stream to get the work done? The destination folders are completely outside of rootDir so the gradle build does not need to be aware of the side effect.Vampire
01/19/2024, 9:56 AMFuyang Liu
01/19/2024, 9:57 AMVampire
01/19/2024, 9:58 AMFuyang Liu
01/19/2024, 10:02 AM