Skip to content

Commit d46119e

Browse files
Update build.gradle.kts: add retrofit2
Udtate
1 parent c44177f commit d46119e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.gradle.kts

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ plugins {
1313
kotlin("plugin.serialization") version "1.8.0"
1414
}
1515
dependencies {
16-
api("io.github.kotlin-telegram-bot.kotlin-telegram-bot:telegram:6.0.7")
17-
api("org.jetbrains.kotlinx:kotlinx-serialization-cbor:1.4.1")
16+
api("io.github.kotlin-telegram-bot.kotlin-telegram-bot:telegram:6.2.0")
17+
api("org.jetbrains.kotlinx:kotlinx-serialization-cbor:1.6.0")
1818
testImplementation("org.junit.jupiter:junit-jupiter:5.9.0")
19+
implementation("com.squareup.retrofit2:retrofit:2.11.0")
1920
testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.25")
2021
testImplementation("io.mockk:mockk:1.13.2")
2122
}
2223
tasks.withType<KotlinCompile> {
23-
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
24+
kotlinOptions.freeCompilerArgs += "-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
2425
}
2526
tasks.test {
2627
useJUnitPlatform()

0 commit comments

Comments
 (0)