|
Groovy 2.2.2 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||
java.lang.Objectgroovy.lang.GrabExclude
@Retention(RetentionPolicy.SOURCE)
@Target({
ElementType.CONSTRUCTOR,
ElementType.FIELD,
ElementType.LOCAL_VARIABLE,
ElementType.METHOD,
ElementType.PARAMETER,
ElementType.TYPE})
public @interface GrabExclude
Used to exclude an indirectly referenced artifact (a transitive dependency) from the classpath.
Examples:
@GrabExclude(group='mysql', module='mysql-connector-java') // group/module form
@GrabExclude('mysql:mysql-connector-java') // compact form
Further information about customising grape behavior can be found on the Grape documentation page: http://groovy.codehaus.org/Grape.
| Optional Element Summary | |
|---|---|
java.lang.String |
group
The organisation or group, e.g.: "org.apache.ant"; required unless the compact form is used. |
java.lang.String |
module
The module or artifact, e.g.: "ant-junit"; required unless the compact form is used. |
java.lang.String |
value
Allows to specify the group (organisation) and the module (artifact) in a two compact convenience formats,
e.g.: |
| Method Summary |
|---|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Element Detail |
|---|
public String group
public String module
public String value
@GrabExclude('org.apache.ant:ant-junit') or @GrabExclude('org.apache.ant#ant-junit')
@default ""
Copyright © 2003-2013 The Codehaus. All rights reserved.