in a plugin I'd like to extract constants (e.g. folder and file names) into a (groovy) class for reuse in install, uninstall and other Gant scripts.
How can I use such a class in my gant scripts?
posted 6 years ago
I haven't tried this myself, but you should be able to just put the Groovy file in your plugin's src/groovy directory and refer to it in the scripts. Have you tried that and run into problems?