build: remove JCenter repository

Force trove4j to be resolved from the newer coordinates used by AGP 7.0

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-03-16 14:28:11 +05:30
parent 892295c42a
commit 12a3ec28bc
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80

View File

@ -70,13 +70,12 @@ allprojects {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
jcenter() { }
content { configurations.all {
// https://github.com/journeyapps/zxing-android-embedded/issues/606 // New versions use different maven coordinates and are available on Maven Central
includeModule("com.journeyapps", "zxing-android-embedded") resolutionStrategy.dependencySubstitution {
// https://youtrack.jetbrains.com/issue/IDEA-261387 substitute(module("org.jetbrains.trove4j:trove4j:20160824"))
includeModule("org.jetbrains.trove4j", "trove4j") .using(module("org.jetbrains.intellij.deps:trove4j:1.0.20181211"))
}
} }
} }
} }