diff --git a/NativeRandomFileSenderBot/build.gradle b/NativeRandomFileSenderBot/build.gradle index 93a2e0b..d3569cf 100644 --- a/NativeRandomFileSenderBot/build.gradle +++ b/NativeRandomFileSenderBot/build.gradle @@ -12,6 +12,10 @@ plugins { id "org.jetbrains.kotlin.multiplatform" } +repositories { + maven { url "https://maven.pkg.jetbrains.space/public/p/ktor/eap/" } +} + kotlin { def hostOs = System.getProperty("os.name") @@ -38,7 +42,7 @@ kotlin { else if (isMingwX64) engine = "winhttp" else throw new GradleException("Host OS is not supported in Kotlin/Native.") - api "io.ktor:ktor-client-$engine:$ktor_version" + api "io.ktor:ktor-client-$engine:2.3.0-eap-638" } } } diff --git a/gradle.properties b/gradle.properties index 49b404c..ffb21b7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,8 +4,8 @@ org.gradle.parallel=true org.gradle.jvmargs=-Xmx1g -kotlin_version=1.8.10 -telegram_bot_api_version=7.0.2-branch_7.0.2-build1571 -micro_utils_version=0.17.6-branch_0.17.6-build420 +kotlin_version=1.8.20 +telegram_bot_api_version=7.0.2-branch_7.0.2-build1583 +micro_utils_version=0.17.6 serialization_version=1.5.0 ktor_version=2.2.4