flutter_udid icon indicating copy to clipboard operation
flutter_udid copied to clipboard

Android gradle deprecated repository

Open DouglasOGarrido opened this issue 1 year ago • 0 comments

Hi,

When I sync my project with Gradle Files in Android Studio, the sync result shows some warnings and one of them is this:

Configure project :flutter_udid
Build file '/Users/{username}/.pub-cache/hosted/pub.dev/flutter_udid-4.0.0/android/build.gradle': line 20
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 9.0. JFrog announced JCenter's sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.9/userguide/upgrading_version_6.html#jcenter_deprecation

I think it's because of this (screenshot taken from folder "android" -> https://github.com/GigaDroid/flutter_udid/blob/master/android/build.gradle): image

For now, this doesn't affect me, I'm just reporting this warning to a future fix or not.

Thank you.

DouglasOGarrido avatar Jan 02 '25 18:01 DouglasOGarrido