It is possible to define additional jars for the build script (and the init script, for that matter). However, I couldn’t find the option to define jars per task - is that possible? The use case is: suppose one has two tasks that both require some library (say, asm, in my case) but in different versions. If they are defined for the whole script, this wouldn’t work, right? Is there a solution to that?
As a side question - how did you implement the functionality to import additional jars within the buildScript closure, but import the classes outside of it? How does that work, what magic are you using to compile that?
wujek