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

Gradle reports that okio references itself #1373

Closed
MartinHaeusler opened this issue Nov 9, 2023 · 3 comments
Closed

Gradle reports that okio references itself #1373

MartinHaeusler opened this issue Nov 9, 2023 · 3 comments

Comments

@MartinHaeusler
Copy link

In my gradle project build where I use the Okio package, gradle reports the following in compileKotlin:

'dependencies.dependency[com.squareup.okio:okio:2.2.2]' for com.squareup.okio:okio:2.2.2 is referencing itself. 
    in com.squareup.okio:okio:2.2.2

I'm not 100% sure if I messed something up or not, but it sounds like something might be off with your *.pom file.

Could you please take a look if that's the case? Anybody else seeing this in their build logs?

@swankjesse
Copy link
Member

Does the problem exist for the current Okio release?

@MartinHaeusler
Copy link
Author

@swankjesse that's an excellent question... I'll need to do some experimentation, as okio occurs as a 3rd level transitive dependency for my project (I use OpenStack4J, which uses Okhttp, which uses okio). OpenStack4J isn't exactly the most update-happy lib out there, so I will have to try to upgrade okhttp and hope that OpenStack4J can work with the newer version.

@MartinHaeusler
Copy link
Author

@swankjesse it turns out that an outdated dependency in our project had a transitive dependency on okio 2.2.2. We've updated that, all good now :)

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