From 5d06d86549ffbb0dddcba6db568f5aec07b12fe7 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 19 Aug 2020 00:19:09 +0600 Subject: [PATCH] update ktor version --- CHANGELOG.md | 2 +- TelegramBotAPI/build.gradle | 9 +-------- gradle.properties | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c413f11a6c..b510041ebc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ * `Serialization`: `0.20.0` -> `1.0.0-RC` * `Klock`: `1.11.14` -> `1.12.0` * `UUID`: `0.1.1` -> `0.2.1` - * `Ktor`: `1.3.2` -> `1.3.2-1.4.0-rc` + * `Ktor`: `1.3.2` -> `1.4.0` * `buildMimeType` function now is cache-oriented getter which will save already got mime types into internal map * All deprecations from previous versions were removed diff --git a/TelegramBotAPI/build.gradle b/TelegramBotAPI/build.gradle index 74051d2e09..d7a9cbdbb8 100644 --- a/TelegramBotAPI/build.gradle +++ b/TelegramBotAPI/build.gradle @@ -59,10 +59,9 @@ kotlin { jvmMain { dependencies { - api "io.ktor:ktor-client:$ktor_version" api "io.ktor:ktor-server:$ktor_version" - api "io.ktor:ktor-server-host-common:$ktor_version" + api "io.ktor:ktor-client-cio:$ktor_version" api "javax.activation:activation:$javax_activation_version" @@ -74,12 +73,6 @@ kotlin { } } - jsMain { - dependencies { - api "io.ktor:ktor-client-js:$ktor_version" - } - } - jsTest { dependencies { implementation kotlin('test-junit') diff --git a/gradle.properties b/gradle.properties index 2fe03702fa..a80f15c1e7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ kotlin_coroutines_version=1.3.9 kotlin_serialisation_runtime_version=1.0.0-RC klock_version=1.12.0 uuid_version=0.2.1 -ktor_version=1.3.2-1.4.0-rc +ktor_version=1.4.0 javax_activation_version=1.1.1