File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ apply plugin: 'java'
9
9
buildscript {
10
10
repositories {
11
11
google()
12
- jcenter ()
12
+ mavenCentral ()
13
13
}
14
14
dependencies {
15
15
classpath ' com.android.tools.build:gradle:4.1.1'
@@ -77,7 +77,7 @@ allprojects {
77
77
78
78
repositories {
79
79
google()
80
- jcenter ()
80
+ mavenCentral ()
81
81
maven { url " https://maven.google.com" }
82
82
maven { url " https://jitpack.io" }
83
83
maven { url ' https://repo.gradle.org/gradle/libs-releases' }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'groovy'
2
2
3
3
repositories {
4
4
google()
5
- jcenter ()
5
+ mavenCentral ()
6
6
}
7
7
8
8
dependencies {
Original file line number Diff line number Diff line change 3
3
buildscript {
4
4
repositories {
5
5
google()
6
- jcenter ()
6
+ mavenCentral ()
7
7
}
8
8
dependencies {
9
9
classpath ' com.android.tools.build:gradle:4.1.1'
@@ -15,15 +15,14 @@ buildscript {
15
15
16
16
allprojects {
17
17
repositories {
18
- // There is a problem in JCenter with some Android packages, using the following maven repo
19
- // fixes the issue:
20
- // https://stackoverflow.com/questions/50563338/could-not-find-runtime-jar-android-arch-lifecycleruntime1-0-0/50564224
18
+ // This was was added to address an issue in JCenter with some Android packages (https://stackoverflow.com/questions/50563338/could-not-find-runtime-jar-android-arch-lifecycleruntime1-0-0/50564224).
19
+ // JCenter is no longer used but keep it just in case.
21
20
maven { url " https://maven.google.com" }
22
21
23
22
// Apparently needed by AndroidX dependencies
24
23
maven { url " https://jitpack.io" }
25
24
26
- jcenter ()
25
+ mavenCentral ()
27
26
google()
28
27
}
29
28
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ buildscript {
4
4
5
5
repositories {
6
6
google()
7
- jcenter ()
7
+ mavenCentral ()
8
8
}
9
9
dependencies {
10
10
classpath 'com.android.tools.build:gradle:@@gradle_version@@'
@@ -19,7 +19,7 @@ allprojects {
19
19
maven { url "https://maven.google.com" }
20
20
maven { url "https://jitpack.io" }
21
21
google()
22
- jcenter ()
22
+ mavenCentral ()
23
23
}
24
24
}
25
25
You can’t perform that action at this time.
0 commit comments