Skip to content

Commit 13cc443

Browse files
committed
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 <[email protected]>
1 parent bcfbf37 commit 13cc443

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ buildscript {
2929
}
3030
repositories {
3131
google()
32-
jcenter()
32+
mavenCentral()
3333
}
3434
}
3535

@@ -69,7 +69,13 @@ task crowdin(type: Copy, dependsOn: ['extractCrowdin']) {
6969
allprojects {
7070
repositories {
7171
google()
72-
jcenter()
72+
mavenCentral()
73+
jcenter() {
74+
content {
75+
// https://github.com/journeyapps/zxing-android-embedded/issues/606
76+
includeModule("com.journeyapps", "zxing-android-embedded")
77+
}
78+
}
7379
}
7480
}
7581

0 commit comments

Comments
 (0)