orbinson / aem-groovy-console

The AEM Groovy Console provides an interface for running Groovy scripts in the AEM container. Scripts can be created to manipulate content in the JCR, call OSGi services, or execute arbitrary code using the CQ, Sling, or JCR APIs.
https://orbinson.github.io/aem-groovy-console/
Other
16 stars 3 forks source link

Reuse classes / utility methods cross groovy-scripts #16

Open royteeuwen opened 1 year ago

royteeuwen commented 1 year ago

For specific use-cases, it is useful to create some common utility classes defined in their own groovy scripts that is reusable in multiple groovy scripts. It would be nice to be able to load in a groovy script as a "library" inside your own groovy script so that you can reuse those implementations