From ca70f498c66edb4c345c20f8a78d47de8a096ac2 Mon Sep 17 00:00:00 2001 From: nanfeng Date: Fri, 10 Jan 2020 14:35:00 +0800 Subject: [PATCH] =?UTF-8?q?maven=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index b70e7eeeb..d3b1eeb6d 100644 --- a/build.gradle +++ b/build.gradle @@ -4,10 +4,12 @@ apply from: "config.gradle" buildscript { repositories { jcenter() + maven{ url "http://maven.aliyun.com/nexus/content/groups/public/"} maven { - url 'https://maven.google.com/' - name 'Google' + url 'http://maven.aliyun.com/nexus/content/repositories/releases/' } + maven { url "https://oss.sonatype.org/content/repositories/snapshots" } + maven { url "https://jitpack.io" } google() } dependencies { @@ -23,10 +25,13 @@ allprojects { group = GROUP repositories { jcenter() + maven{ url "http://maven.aliyun.com/nexus/content/groups/public/"} maven { - url 'https://maven.google.com/' - name 'Google' + url 'http://maven.aliyun.com/nexus/content/repositories/releases/' } + maven { url "https://oss.sonatype.org/content/repositories/snapshots" } + maven { url "https://jitpack.io" } + google() } }