Skip to content

Navigation Menu

Sign in
Sign up

@Grab annotation support in Groovy interpreter #7412

Open
Labels

Description

Please add Grab annotation support in the groovy interpreter which would allow adding maven dependencies inline in groovy scripts. For example:
`@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.5.2')
import groovyx.net.http.RESTClient

println("About to create RESTClient.");
def service = new RESTClient("http://example.com/")
def response = service.get(path: "/some/resource")
println("Response status: " + response.status)`

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /