Skip to content

Conversation

Copy link

Copilot AI commented Nov 5, 2025

JCenter has been sunset and causes build failures. Replaced with mavenCentral().

Changes

  • android/build.gradle: Replaced jcenter() with mavenCentral() in both buildscript and rootProject.allprojects repository blocks
buildscript {
    repositories {
        google()
-       jcenter()
+       mavenCentral()
    }
}

rootProject.allprojects {
    repositories {
        google()
-       jcenter()
+       mavenCentral()
    }
}

Fixes #125

Original prompt

Remove jcenter() repository references from android/build.gradle since JCenter has been sunset and can lead to build failures. Replace it with mavenCentral() in all repository blocks. See #125 for the related issue.

This pull request was created as a result of the following prompt from Copilot chat.

Remove jcenter() repository references from android/build.gradle since JCenter has been sunset and can lead to build failures. Replace it with mavenCentral() in all repository blocks. See #125 for the related issue.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: CodingWithTashi <25583737+CodingWithTashi@users.noreply.github.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 5, 2025

Copilot AI changed the title [WIP] Remove jcenter() repository references and replace with mavenCentral() Replace jcenter() with mavenCentral() in android/build.gradle Nov 5, 2025
Copilot AI requested a review from CodingWithTashi November 5, 2025 22:41
Copilot finished work on behalf of CodingWithTashi November 5, 2025 22:41
@CodingWithTashi CodingWithTashi marked this pull request as ready for review November 5, 2025 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build issue with JCenter : Could not find method jcenter() for arguments []

2 participants