It is often desired to declare constants at the top of a script that can be referenced anywhere else in the script. In Groovy, it seems that if you declare a constant using fin
I personally wouldn't do it but technically you could do
Object.metaclass.MYCONSTANT = 'foobar'
Then every object has it