Currently, ensuring that versions are aligned between OkHttp dependencies in a Gradle project requires explicitly adding a platform dependency to the okhttp-bom.
Ideally, each module listed in okhttp-bom should itself depend on okhttp-bom as a platform dependency to transitively contribute those dependency constraints downstream.
See https://blog.gradle.org/alignment-with-gradle-module-metadata