I feel I should be able to do this, but from the docs I can’t figure out how.
I have an existing legacy .exe tool that I want to wrap in a Gradle plugin so projects can use it as a build step. So I have a plugin that declares an Exec task to run the tool. The plugin’s publication artifacts include the .exe and associated dlls. I need to either (a) determine where those were found in the repository (so I can make that the working directory of the Exec task) or (b) copy them to a directory local to the project (so I can make THAT the working directory).
I haven’t managed to do the first one, and the only solution I created to the second was very clunky and involved the client gradle script doing the work (rather than the plugin).
Can anyone give me any pointers?