summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-02-05 22:25:38 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-02-05 22:25:38 +0530
commit13cc4436ca221e49cb5b18d658525f623f5fd160 (patch)
treeb632bc42dc8d5181eed70e75fc9a34c1adf2e4e1
parentbcfbf37ed17d10f91db52f2777fdfeb38b340e51 (diff)
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>
-rw-r--r--build.gradle10
1 files changed, 8 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 9fc3e50d..92b80e40 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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")
+ }
+ }
}
}