John Murph wrote:
I have the next iteration of init script support ready. This includes a small chapter in the userguide. If you have suggestions for what else to say, let me know and I'll add to it. There is a little bit of code cleanup in this version from the last time, but I was mostly focused on getting old unit tests passing, adding new unit tests and writing some javadoc. Please have a look and submit it if it's ready. Once again it at GitHub at git://github.com/sappling/gradle.git <http://github.com/sappling/gradle.git> in branch init_script. P.S. This work was started before Hans' multi-project stuff, so it might not be an easy integration. I'm not sure the best way to handle this (I'm not good with Git yet). If it's hard to merge, let me know and I can try to merge it myself.
I've merged your changes in. It was a bastard of a merge, you might want to check I got everything. It seems to work.
I had to use -I as the init script option, as -S was taken (recently) by --full-stacktraces. I removed -I as the short form of --no-imports to make it available for the --init-script.
Thank you for this patch. It's fantastic to have an init script now, it's long overdue. I'm going to try using it to apply the growl notification plugin to my builds.
Adam
