Skip to content

Force get from mavenCentral() #9664

@TheCarpetMerchant

Description

@TheCarpetMerchant

Since yesterday I'm getting this error (not the full trace) :

Could not resolve io.grpc:grpc-api:[1.21.1].
     Required by:
         project :in_app_update > com.android.tools.build:gradle:7.1.1 > io.grpc:grpc-core:1.21.1
      > Failed to list versions for io.grpc:grpc-api.
         > Unable to load Maven meta-data from https://jcenter.bintray.com/io/grpc/grpc-api/maven-metadata.xml.
            > Could not get resource 'https://jcenter.bintray.com/io/grpc/grpc-api/maven-metadata.xml'.
               > Could not GET 'https://jcenter.bintray.com/io/grpc/grpc-api/maven-metadata.xml'.
                  > Read timed out

I have removed jcenter() from my build.gradle and added mavenCentral() but I don't know how to force grpc-api to be looked up in Maven and not the deprecated jcenter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions