-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with Gradle Plugin 3.4.1 and gradle 5.1.1 #230
Comments
When i try use logansquare recently, i got this error |
I have a project with settings When i change settings to com.android.tools.build:gradle:3.4.1 and "Maybe fasterxml-jackson-core:2.5.1 is not compatible with gradle plugin 3.4.1 and gradle 5.1.1" No. I' ve got another errors. The project does not use fasterxml-jackson-core directly |
I see the same "cannot find symbol" errors shown in the screenshot posted by @yang511, for the JsonParser and JsonGenerator classes in com.fasterxml.jackson.core that are referenced from logansquare's ObjectMapperInjector class. The logansquare project does use fasterxml-jackson-core directly; it's referenced in core/build.gradle: I don't understand the exact nature of the incompatibility yet, but it definitely seems related to fasterxml-jackson-core. |
I was able to get the build to work by explicitly including my own dependency on jackson-core:2.5.1 in my project's build.gradle file:
I suspect the issue here is that logansquare's |
Works after adding dependency implementation 'com.fasterxml.jackson.core:jackson-core:2.5.1' |
OK, thanks |
@yang511 - I'd recommend keeping this ticket open until LoganSquare's dependency on jackson-core is made transitive. Users of the library shouldn't have to add the dependency to their own projects. |
No description provided.
The text was updated successfully, but these errors were encountered: