Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## groovy.lang
Annotation Type GrabResolver

    @Retention(value=SOURCE)
    @Target(value={CONSTRUCTOR,FIELD,LOCAL_VARIABLE,METHOD,PARAMETER,TYPE})
    public @interface GrabResolver

Used to add a repository for resolving Grape dependencies

For example:

     @GrabResolver(name='restlet.org', root='http://maven.restlet.org')
     @Grab(group='org.restlet', module='org.restlet', version='1.1.6')
     class MyRestlet extends org.restlet.Restlet {
       // ...
     }

Author:
  Merlyn Albery-Speyer

Required Element Summary
`String` | `name`
`String` | `root`

Optional Element Summary
`boolean` | `m2Compatible`

Element Detail

### name

    public abstract String name

### root

    public abstract String root

### m2Compatible

    public abstract boolean m2Compatible

  Default:
    true

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2003-2009 The Codehaus. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT