下载安装library manager插件,在主菜单点击library manager->home Page->GAlimaven->integrate
或者在library manager命令终端输入 "alm install GAlimaven"自动配置阿里云镜像
将下面内容复制到项目根目录下的build.gradle下
maven {url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin'}maven {url 'http://maven.aliyun.com/nexus/content/repositories/google'}maven {url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
library manager插件详细介绍可参考链接