From bacaee89a23d500df70182f5b400caaf963e2b1f Mon Sep 17 00:00:00 2001 From: Neven Date: Tue, 25 May 2021 16:04:58 +0200 Subject: [PATCH] Replace deprecated jcenter() --- app/build.gradle | 2 +- build.gradle | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index fbd6a3d54..23e6fb233 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -177,7 +177,7 @@ dependencies { implementation "com.github.bumptech.glide:glide:$versions.glide" - implementation("com.thegrizzlylabs.sardine-android:sardine-android:$versions.sardine") { + implementation("com.github.thegrizzlylabs:sardine-android:$versions.sardine") { exclude group: 'xpp3', module: 'xpp3' } diff --git a/build.gradle b/build.gradle index ae69b300d..5bf8f55c1 100644 --- a/build.gradle +++ b/build.gradle @@ -66,7 +66,7 @@ buildscript { ext.versions = versions repositories { - jcenter() + mavenCentral() google() } @@ -83,12 +83,17 @@ plugins { allprojects { repositories { - jcenter() + mavenCentral() google() maven { - url "https://oss.sonatype.org/content/repositories/snapshots" + url 'https://oss.sonatype.org/content/repositories/snapshots' + } + + // For sardine-android + maven { + url 'https://jitpack.io' } }