This message was deleted.
# plugin-development
s
This message was deleted.
t
IIRC, the way InteliJ IDEA does it when you want to run a Java class, is to use an init-script that will register the task.
That said, I think you could resolve any configuration and get its files (stored in the
~/.gradle/caches
) and then do the copying on your side, rather than injecting a task into the build.
c
Interesting, thank you, I'll try that approach as well
t
I wrote a plugin for this and already shared a gist elsewhere in this slack, feel free to borrow or steal https://gist.github.com/autonomousapps/f0133e58a612b6837f3f4f6554337035
c
Still trying to do this from a non-plugin context in which Project is not available (only GradleProject), but should that not work, your gist looks exactly like what I need. Much appreciated
👍 1