From 13cc4436ca221e49cb5b18d658525f623f5fd160 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 5 Feb 2021 22:25:38 +0530 Subject: 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 --- build.gradle | 10 ++++++++-- 1 file 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") + } + } } } -- cgit v1.2.3