Forum Discussion
Mark_E
15 years agoOccasional Contributor
::) Yes, that works, thanks.
Is it possible to have a collection of groovy functions/closures in a file without a name space (default package name)?
So for example have a file called lib.groovy in the scripts directory with something useful like:
def logInfo = {t -> log.info(t) }
def myFunc() { "This is my function" }
Is it possible to have a collection of groovy functions/closures in a file without a name space (default package name)?
So for example have a file called lib.groovy in the scripts directory with something useful like:
def logInfo = {t -> log.info(t) }
def myFunc() { "This is my function" }
Related Content
- 7 years agolcordy
- 2 years agonormgean
- 3 years agoimmudreams
- 9 months agoRicky1
Recent Discussions
- 20 hours agodipsthorat
- 24 hours agoisbiat
- 2 days agoarmygrad