build: switch to mavenCentral as the main repository

Retain JCenter but restrict it the single dependency we require off it

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-02-05 22:25:38 +05:30
parent bcfbf37ed1
commit 13cc4436ca
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80

View File

@ -29,7 +29,7 @@ buildscript {
}
repositories {
google()
jcenter()
mavenCentral()
}
}
@ -69,7 +69,13 @@ task crowdin(type: Copy, dependsOn: ['extractCrowdin']) {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
jcenter() {
content {
// https://github.com/journeyapps/zxing-android-embedded/issues/606
includeModule("com.journeyapps", "zxing-android-embedded")
}
}
}
}