Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use Grape to use this as a dependency in a local Groovy file? #52

Open
danstadler-pdx opened this issue Nov 4, 2017 · 0 comments

Comments

@danstadler-pdx
Copy link

I am successfully using this plugin in Grails (many thanks btw!), but for iterative coding changes I'd like to just try using this library in some Groovy code in groovyConsole, and quickly try out changes before moving the working code back into my Grails project.

After looking at this page: https://mvnrepository.com/artifact/org.grails.plugins/rest-client-builder/2.1.1 , I tried adding this at the top of my groovy script:
@grab(group='org.grails.plugins', module='rest-client-builder', version='2.1.1')

But when I run the script, I get the following error message:
java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: org.grails.plugins#rest-client-builder;2.1.1: not found]

I also tried it this way, same result:
@Grapes(
@grab(group='org.grails.plugins', module='rest-client-builder', version='2.1.1')
)
Appreciate any help on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant