Thanks, that looks good, but I’ve basically gotten it working by the method I mentioned above, the ProjectEvaluationListener, which may not be extensible but does work. Your approach looks quite good though.
Gradle Configurations aren’t something I’m familiar with (hole in my learning).
But this looks like the heart of it:
As far as
is concerned, please note bug report I opened on the tarTree method, which I believe would bite me in your scenario as well. Basically, I could only get the rpm to work by executing tar into a temporary directory.
But I do find your remarks quite helpful.