diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-03-16 14:28:11 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2021-03-16 14:31:51 +0530 |
commit | 12a3ec28bc11e1041c060ffefb5fd510760f4c93 (patch) | |
tree | effc762386d69467683bbeda8153c7afdd70732d | |
parent | 892295c42ad449bcbd24058916cb2062c8dbf8e8 (diff) |
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>
-rw-r--r-- | build.gradle | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle index 0e1aeae4..c60146ca 100644 --- a/build.gradle +++ b/build.gradle @@ -70,13 +70,12 @@ allprojects { repositories { google() mavenCentral() - jcenter() { - content { - // https://github.com/journeyapps/zxing-android-embedded/issues/606 - includeModule("com.journeyapps", "zxing-android-embedded") - // https://youtrack.jetbrains.com/issue/IDEA-261387 - includeModule("org.jetbrains.trove4j", "trove4j") - } + } + configurations.all { + // New versions use different maven coordinates and are available on Maven Central + resolutionStrategy.dependencySubstitution { + substitute(module("org.jetbrains.trove4j:trove4j:20160824")) + .using(module("org.jetbrains.intellij.deps:trove4j:1.0.20181211")) } } } |