repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } mavenLocal() }
配置如上,查了一下说需要update repo1.maven.org 或者setting里面加proxy。有没有好点的办法,实在想不通,为什么idea里面update 阿里云的源会是error
试试在$MAVNE_HOME/settings.xml中把阿里云的源添加到第一个位置试试