cookie-information / android-release

0 stars 3 forks source link

Adding the new mobileconsents version 3.0.0 can't resolve app.cash.sqldelight:android-driver:2.0.0. #55

Open GaborHartyandi opened 2 weeks ago

GaborHartyandi commented 2 weeks ago

I am trying add the new version of the mobileconsents dependency to my app by adding: implementation 'com.cookieinformation:mobileconsents:3.0.0' when I compile I get: Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve app.cash.sqldelight:android-driver:2.0.0. org.gradle.internal.component.NoMatchingGraphVariantsException: No matching variant of app.cash.sqldelight:android-driver:2.0.0 was found.

Can be that app.cash.sqldelight:android-driver:2.0.0 dependency missing from 3.0.0 for some reason. Could you help me out what the possible issue could be?

rka-nem commented 2 days ago

It seems like there is a problem if a project already has sqldelight from another dependency. I had a similar issue and solved it by excluding sqldelight from the part where the dependency was causing the issue: {exclude group: 'app.cash.sqldelight', module: 'android-driver'} Maybe you can use this until you get an answer.