Skip to content

Instantly share code, notes, and snippets.

@andresteingress
Created April 12, 2013 07:06
Show Gist options
  • Select an option

  • Save andresteingress/5370086 to your computer and use it in GitHub Desktop.

Select an option

Save andresteingress/5370086 to your computer and use it in GitHub Desktop.
Groovy Common Extensions not found in groovyConsole and scripts
@Grapes(Grab(group='com.bloidonia', module='groovy-common-extensions', version='0.4.1'))
def f = new File('test.zip')
f.unzip(new File('test'))
@andresteingress
Copy link
Author

Solution: the @ at Grab is missing:

@Grapes(@grab(group='com.bloidonia', module='groovy-common-extensions', version='0.4.1'))

@timyates
Copy link

Ahhhhhhhh!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment