After finding an issue on their GitHub with the same problem I was able to solve the problem by depending on the `okhttp-jvm` dependency instead, as Maven doesn't seem to have the same "awareness" for module metadata as Gradle does.
So, if you're using Maven and get the same issue, try changing the okhttp
artifact ID to okhttp-jvm
.