Skip to content

Remove JCenter lines from build.gradle or at least specify what used by it directly #611

@emanuelb

Description

@emanuelb

Jcenter declared in file build.gradle


Jcenter service is closed (it is available only in read-only mode, no updates for packages will be made)
more details on needed migration:
https://docs.gradle.org/7.6.1/userguide/upgrading_version_6.html#jcenter_deprecation
https://developer.android.com/studio/build/jcenter-migration
https://blog.gradle.org/jcenter-shutdown

and here content on how to migrate:
https://jeroenmols.com/blog/2021/02/04/migratingjcenter/

probably one or both of below entries are needed instead of jcenter usage:

        gradlePluginPortal()
        mavenCentral()

You can declare specific usages of jcenter like explained in https://jeroenmols.com/blog/2021/02/04/migratingjcenter/#consumed-dependencies-from-bintrayjcenter and like it's done for example in this PR of unstoppable wallet "Gradually migrate from jcenter to mavenCentral" (in case jcenter usage is still required)
https://github.com/horizontalsystems/unstoppable-wallet-android/pull/3752/files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions