Why not just use velocity? You can throw it in web-inf/lib and it should work, if you really want it.
You can't really load it from a script directly, you could using @Grab (http://docs.groovy-lang.org/latest/html/documentation/grape.html) but I always have mixed results.
Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs