@Retention(value=SOURCE) @Target(value={CONSTRUCTOR,FIELD,LOCAL_VARIABLE,METHOD,PARAMETER,TYPE}) public @interface GrabExclude
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.
Modifier and Type | Optional Element and Description |
---|---|
String |
group
The organisation or group, e.g.: "org.apache.ant"; required unless the compact form is used.
|
String |
module
The module or artifact, e.g.: "ant-junit"; required unless the compact form is used.
|
String |
value
Allows to specify the group (organisation) and the module (artifact) in a two compact convenience formats,
e.g.:
@GrabExclude('org.apache.ant:ant-junit') or @GrabExclude('org.apache.ant#ant-junit') |
public abstract String group
public abstract String module
public abstract String value
@GrabExclude('org.apache.ant:ant-junit')
or @GrabExclude('org.apache.ant#ant-junit')