From 7641bac8488a1f990adb7f0d36596b6f6daa0a47 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Fri, 8 Dec 2023 11:33:45 +0100 Subject: [PATCH] Remove Maven repo jcenter() and use google() --- build.gradle | 4 ++-- poitest/build.gradle | 5 ----- settings.gradle | 5 +---- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index e2bf5675..908ce73c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { repositories { + mavenCentral() google() - jcenter() } dependencies { classpath 'com.android.tools.build:gradle:7.4.2' @@ -10,8 +10,8 @@ buildscript { allprojects { repositories { + mavenCentral() google() - jcenter() } } diff --git a/poitest/build.gradle b/poitest/build.gradle index b55aa53f..946b7289 100644 --- a/poitest/build.gradle +++ b/poitest/build.gradle @@ -1,10 +1,5 @@ apply plugin: 'com.android.application' -repositories { - google() - jcenter() -} - dependencies { coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4' implementation 'androidx.multidex:multidex:2.0.1' diff --git a/settings.gradle b/settings.gradle index 2a9b18c4..56c4f302 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,10 +1,7 @@ pluginManagement { buildscript { repositories { - mavenCentral() - maven { - url = uri("https://maven.google.com") - } + google() } dependencies { classpath("com.android.tools:r8:8.2.33")