From 2e333d40791aa33d05a7942d6ff118af7c30efbe Mon Sep 17 00:00:00 2001 From: mertcano <35747700+mertcano@users.noreply.github.com> Date: Mon, 17 Aug 2026 15:12:40 +0300 Subject: [PATCH] Refactor: Replace deprecated jcenter() repository with mavenCentral() Why The jcenter() artifact repository has been deprecated and sunset, causing potential build failures, reliability issues, and supply chain risks for dependency resolution. How Replaced jcenter() with mavenCentral() in the buildscript and allprojects repository configuration blocks. Security/Robustness changes Ensures long-term stability and secure resolution of Android and Gradle dependencies by migrating to the fully supported Maven Central repository. Testing Note: Android Gradle wrapper checks were attempted, but require a machine with a compatible JDK and JAVA_HOME configured. Validation should be rerun on an appropriate build environment. --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index cf780a6..da25888 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ buildscript { repositories { - jcenter() + mavenCentral() google() } dependencies { @@ -15,7 +15,7 @@ buildscript { allprojects { repositories { - jcenter() + mavenCentral() google() } }