From d15ac3563a7c9077091f8c0837551e97a0d978d1 Mon Sep 17 00:00:00 2001 From: Denire Date: Thu, 12 Jan 2023 10:15:28 +0300 Subject: [PATCH] telegram channel - use okhttp 3.14 for better http/2 support with tls --- channels/telegram/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/channels/telegram/build.gradle.kts b/channels/telegram/build.gradle.kts index cd36d30d..e1ef040d 100644 --- a/channels/telegram/build.gradle.kts +++ b/channels/telegram/build.gradle.kts @@ -14,5 +14,9 @@ dependencies { api("com.github.kotlin-telegram-bot:kotlin-telegram-bot:6.0.4") { exclude("com.github.kotlin-telegram-bot.kotlin-telegram-bot", "webhook") exclude("org.jetbrains.kotlin", "kotlin-stdlib") + exclude("com.squareup.okhttp3", "okhttp") + exclude("com.squareup.okhttp3", "logging-interceptor") } + api("com.squareup.okhttp3:okhttp:3.14.0") + api("com.squareup.okhttp3:logging-interceptor:3.14.0") }