Gravatar-SDK-Android icon indicating copy to clipboard operation
Gravatar-SDK-Android copied to clipboard

`Could not find com.github.yalantis:ucrop:2.2.8.`

Open wzieba opened this issue 1 year ago • 3 comments

Current behaviour

When adding the SDK to a project, I get Could not find com.github.yalantis:ucrop:2.2.8..

Root cause

The configuration requires SDK consumers to declare Jitpack repository in the application to fetch ucrop dependency.

Possible solutions

  • IMO, preferable: migrate from Jitpack repository, as it's known for stability and security issues (https://github.com/gradle/gradle/issues/16310#issuecomment-785945980). Maybe we can mirror it to our S3 instance instead?
  • Or, at least, we should mention the necessity of having Jitpack repository in the README

wzieba avatar Mar 21 '24 10:03 wzieba

2 days ago uCrop merged a PR related to publishing on Maven Central https://github.com/Yalantis/uCrop/pull/907 so we might soon be able to simply drop Jitpack.

wzieba avatar Mar 21 '24 11:03 wzieba

I reviewed this today, and it's not on Maven Central yet.

hamorillo avatar Apr 09 '24 10:04 hamorillo

version 2.2.9 was shipped a few days ago but not published to maven central.

maxme avatar Apr 20 '24 06:04 maxme

We use our fork stored in private s3 so this issue is resolved.

AdamGrzybkowski avatar Oct 24 '24 13:10 AdamGrzybkowski

Could not find com.github.yalantis:ucrop:2.2.9. Required by: project :app > project :flutter > project :image_cropper

getting this errrr while using this lib in one of my flutter module

richanshah avatar Apr 01 '25 14:04 richanshah

hi @richanshah 👋 This project no longer uses uCrop 2.2.9 but instead, 2.2.11.

Do you mind trying the latest version of Gravatar SDK, 2.3.1?

wzieba avatar Apr 02 '25 11:04 wzieba