Package groovy.lang
Annotation Type GrabExclude
@Retention(SOURCE)
@Target({CONSTRUCTOR,FIELD,LOCAL_VARIABLE,METHOD,PARAMETER,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-lang.org/grape.html.
- 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description java.lang.StringgroupThe organisation or group, e.g.: "org.apache.ant"; required unless the compact form is used.java.lang.StringmoduleThe module or artifact, e.g.: "ant-junit"; required unless the compact form is used.java.lang.StringvalueAllows you to specify the group (organisation) and the module (artifact) in one of two compact convenience formats, e.g.:@GrabExclude('org.apache.ant:ant-junit')or@GrabExclude('org.apache.ant#ant-junit')
- 
Element Details- 
groupjava.lang.String groupThe organisation or group, e.g.: "org.apache.ant"; required unless the compact form is used.- Default:
- ""
 
- 
modulejava.lang.String moduleThe module or artifact, e.g.: "ant-junit"; required unless the compact form is used.- Default:
- ""
 
- 
valuejava.lang.String valueAllows you to specify the group (organisation) and the module (artifact) in one of two compact convenience formats, e.g.:@GrabExclude('org.apache.ant:ant-junit')or@GrabExclude('org.apache.ant#ant-junit')- Default:
- ""
 
 
-