为 Groovy 的 Grape 添加额外仓库
由于不是所有依赖都在 maven central,你可能想添加额外的仓库,你可以这样做:
@GrabResolver(name='仓库名', root='仓库地址')
例子
@GrabResolver(name='aliyun', root='https://maven.aliyun.com/repository/public')
@Grab(group='org.restlet', module='org.restlet', version='1.1.6')