File tree 1 file changed +24
-0
lines changed 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 2
2
buildscript {
3
3
apply from : ' config.gradle'
4
4
repositories {
5
+ maven {
6
+ url ' https://maven.aliyun.com/repository/public'
7
+ name ' 代替 jcenter()及mavenCentral()'
8
+ }
9
+ maven {
10
+ url ' https://maven.aliyun.com/repository/jcenter'
11
+ name ' 代替 jcenter()'
12
+ }
13
+ maven {
14
+ url ' https://maven.aliyun.com/repository/google'
15
+ name ' 代替 google()'
16
+ }
5
17
if (bus. isDebug) {
6
18
maven() {
7
19
url uri(new File (project. rootDir, " maven" ))
@@ -20,6 +32,18 @@ buildscript {
20
32
21
33
allprojects {
22
34
repositories {
35
+ maven {
36
+ url ' https://maven.aliyun.com/repository/public'
37
+ name ' 代替 jcenter()及mavenCentral()'
38
+ }
39
+ maven {
40
+ url ' https://maven.aliyun.com/repository/jcenter'
41
+ name ' 代替 jcenter()'
42
+ }
43
+ maven {
44
+ url ' https://maven.aliyun.com/repository/google'
45
+ name ' 代替 google()'
46
+ }
23
47
google()
24
48
jcenter()
25
49
}
You can’t perform that action at this time.
0 commit comments