Hi, I'm currently integrating ktor client 3.1 in m...
# ktor
e
Hi, I'm currently integrating ktor client 3.1 in my app, but I have an issue, because a library uses ktor client 2.3 and the API isn't compatible. So I get a crash during minification (and would probably also crash during runtime):
Copy code
Missing class io.ktor.client.plugins.HttpTimeout$HttpTimeoutCapabilityConfiguration (referenced from: …) and 1 other context)
Missing class io.ktor.client.plugins.HttpTimeout$Plugin (referenced from: …)
Missing class io.ktor.client.plugins.HttpTimeout (referenced from: …)
Is there an option to use ktor client 2.x and 3.x in the same app?
a
Theoretically, Ktor dependencies for different versions can be separated into two modules, with Ktor classes (e.g., from Ktor 2.3) relocated within a shadow JAR.
🤔 1