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'
99buildscript {
1010 repositories {
1111 google()
12- jcenter ()
12+ mavenCentral ()
1313 }
1414 dependencies {
1515 classpath ' com.android.tools.build:gradle:4.1.1'
@@ -77,7 +77,7 @@ allprojects {
7777
7878 repositories {
7979 google()
80- jcenter ()
80+ mavenCentral ()
8181 maven { url " https://maven.google.com" }
8282 maven { url " https://jitpack.io" }
8383 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'
22
33repositories {
44 google()
5- jcenter ()
5+ mavenCentral ()
66}
77
88dependencies {
Original file line number Diff line number Diff line change 33buildscript {
44 repositories {
55 google()
6- jcenter ()
6+ mavenCentral ()
77 }
88 dependencies {
99 classpath ' com.android.tools.build:gradle:4.1.1'
@@ -15,15 +15,14 @@ buildscript {
1515
1616allprojects {
1717 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.
2120 maven { url " https://maven.google.com" }
2221
2322 // Apparently needed by AndroidX dependencies
2423 maven { url " https://jitpack.io" }
2524
26- jcenter ()
25+ mavenCentral ()
2726 google()
2827 }
2928}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ buildscript {
44
55 repositories {
66 google()
7- jcenter ()
7+ mavenCentral ()
88 }
99 dependencies {
1010 classpath 'com.android.tools.build :gradle:@@gradle_version@@'
@@ -19,7 +19,7 @@ allprojects {
1919 maven { url " https://maven.google.com" }
2020 maven { url " https://jitpack.io" }
2121 google()
22- jcenter ()
22+ mavenCentral ()
2323 }
2424}
2525
You can’t perform that action at this time.
0 commit comments