Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I am trying to import OkHttp TLS to be able to use certificates and other OkHttp TLS functionality
my
build.gradle.kts
looks like this
implementation ("com.squareup.okhttp3:okhttp-tls")
However, gradle is unable to find this module
Could not find com.squareup.okhttp3:okhttp-tls
Unsure if okhttp tls is not imported this way any longer
–
–
–
–
implementation("com.squareup.okhttp3:okhttp:4.10.0")
You can take a closer look at the docs
dependencies {
// define a BOM and its version
implementation(platform("com.squareup.okhttp3:okhttp-bom:4.10.0"))
// define any required OkHttp artifacts without version
implementation("com.squareup.okhttp3:okhttp")
implementation("com.squareup.okhttp3:logging-interceptor")
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.