DBFlow icon indicating copy to clipboard operation
DBFlow copied to clipboard

Not able to resolve 4.2.4 artifacts

Open moliveira-smsi opened this issue 5 years ago • 12 comments

DBFlow Version: 4.2.4

Bug or Feature Request: Missing dependency

Description:

Could not resolve all artifacts for configuration ':core:releaseCompileClasspath'. Could not find com.github.Raizlabs.DBFlow:dbflow-core:4.2.4. Required by: project :core Could not find com.github.Raizlabs.DBFlow:dbflow:4.2.4. Required by: project :core

moliveira-smsi avatar Mar 22 '21 10:03 moliveira-smsi

I've got similar issue with existing project. Didn't touch DB flow dependencies for long time and today I've received this error:

  • What went wrong: Could not determine the dependencies of task ':app:compileProdReleaseKotlin'.

Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'. Could not find com.github.Raizlabs.DBFlow:dbflow-kotlinextensions:4.2.4. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/Raizlabs/DBFlow/dbflow-kotlinextensions/4.2.4/dbflow-kotlinextensions-4.2.4.pom - https://jcenter.bintray.com/com/github/Raizlabs/DBFlow/dbflow-kotlinextensions/4.2.4/dbflow-kotlinextensions-4.2.4.pom - https://repo.maven.apache.org/maven2/com/github/Raizlabs/DBFlow/dbflow-kotlinextensions/4.2.4/dbflow-kotlinextensions-4.2.4.pom - https://jitpack.io/com/github/Raizlabs/DBFlow/dbflow-kotlinextensions/4.2.4/dbflow-kotlinextensions-4.2.4.pom - https://developer.huawei.com/repo/com/github/Raizlabs/DBFlow/dbflow-kotlinextensions/4.2.4/dbflow-kotlinextensions-4.2.4.pom Required by: project :app

ynd-arkadiuszrutkowski avatar Mar 22 '21 11:03 ynd-arkadiuszrutkowski

Same issue here, any help?

felipezf avatar Mar 22 '21 13:03 felipezf

Any solution?

sebamena avatar Mar 22 '21 15:03 sebamena

The only solution I see at the moment is to downgrade to 4.2.3 while we wait for a fix.

rraTapptic avatar Mar 22 '21 15:03 rraTapptic

@agrosner this seems to be very urgent. It's breaking up for everybody. Could you help here?

felipezf avatar Mar 22 '21 15:03 felipezf

It could be related to a Jitpack issue where it tried to rebuild the library from the old github owner Raizlabs. Since this is now moved to agrosner, that might have broken the builds. I don't think this is the first time it happened.

Renaming your imports should get the binaries working again:

  • from: api "com.github.Raizlabs.DBFlow<...>
  • to: api "com.github.agrosner.DBFlow<...>

byCedric avatar Mar 22 '21 18:03 byCedric

Thanks for the headsup. I believe it is something with jitpack. I will file an issue report with them. But yes you should move over to the com.github.agrosner. namespace for DBFlow artifacts as I now own the code. It was transferred over to me a couple of years ago and jitpack does artifact namespacing based on the github account its on. It still technically works since for transfer of ownership requests get forwarded to the new github account. So If you were to go to http://github.com/raizlabs/DBFlow it would just forward you here.

agrosner avatar Mar 22 '21 19:03 agrosner

Hm, I tried to switch over to com.github.agrosner with v 4.2.4. but the dependency is not resolving :-(

 Could not find com.github.agrosner.dbflow:reactive-streams:4.2.4.

It is working for 5.0.0-alpha2, so my setup should be correct. I would really prefer to stick to 4.2.4, is there any way to fix this?

SilvanaP avatar Mar 23 '21 08:03 SilvanaP

FYI, this is breaking many Expo builds https://github.com/expo/turtle/issues/300

simoneb avatar Mar 23 '21 08:03 simoneb

I tried turtle build now and works fine!!

image

IgorColetoBueno avatar Mar 23 '21 12:03 IgorColetoBueno

Works for me again, too! Thanks!

SilvanaP avatar Mar 23 '21 13:03 SilvanaP

https://github.com/jitpack/jitpack.io/issues/5337#issuecomment-1363784067

helengray avatar Dec 23 '22 09:12 helengray