Skip to content
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

Upgrade from 1.5.5 to 1.5.6 break project compilation #28

Closed
ben-j69 opened this issue Jan 28, 2021 · 2 comments
Closed

Upgrade from 1.5.5 to 1.5.6 break project compilation #28

ben-j69 opened this issue Jan 28, 2021 · 2 comments

Comments

@ben-j69
Copy link
Contributor

ben-j69 commented Jan 28, 2021

Hello,

I was using v1.5.5 with okhttp :

// Android Snooper library for Okhttp
    implementation('com.github.jainsahab:Snooper-Okhttp:1.5.5@aar') {
    transitive = true
}

When I upgrade to 1.5.6, I can not run my unit tests anymore, do you have an idea of what happened ? Maybe there is a conflict in dependencies ?

// Android Snooper library for Okhttp
    implementation('com.github.jainsahab:Snooper-Okhttp:1.5.6@aar') {
    transitive = true
}

The error appear when I run ./gradlew app:compilePrimaryDebugUnitTestKotlin :

> Task :app:compilePrimaryDebugUnitTestKotlin FAILED
e: /Users/benj/Desktop/XXX/XXX-android-client/app/src/test/java/com/wayzup/object/ObjectTestHelper.kt: (3, 27): Unresolved reference: lang3
e: /Users/benj/Desktop/XXX/XXX-android-client/app/src/test/java/com/wayzup/object/ObjectTestHelper.kt: (18, 26): Unresolved reference: SerializationUtils
e: /Users/benj/Desktop/XXX/XXX-android-client/app/src/test/java/com/wayzup/object/ObjectTestHelper.kt: (19, 28): Unresolved reference: SerializationUtils
@jainsahab
Copy link
Owner

Hi @ben-j69,

According to the compilation error log, it looks like your project is looking for commons-lang3 dependency which we have removed in 1.5.6. Your project was probably using a transitive dependency this way. if you want to use this you need to add it explicitly in your codebase.

@ben-j69
Copy link
Contributor Author

ben-j69 commented Feb 1, 2021

@jainsahab thanks, it is solved, I should have find alone, sorry to waste your time!

@ben-j69 ben-j69 closed this as completed Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants