Groovy‘s RootLoader is a handy class that can be used to encapsulate a Groovy script’s reference to external classpath dependencies within the script itself. The documentation for RootLoader states, ...
There are numerous ways in which Groovy can be applied to build Java-based applications. These building approaches range from invoking commands like javac and jar directly from Groovy code to ...