File tree Expand file tree Collapse file tree
kobby-maven-tutorial-cinema-client
src/main/kotlin/io/github/ermadmi78/kobby/cinema/client
kobby-maven-tutorial-cinema-server Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636
3737 <dependency >
3838 <groupId >org.jetbrains.kotlinx</groupId >
39- <artifactId >kotlinx-coroutines-core</artifactId >
39+ <artifactId >kotlinx-coroutines-core-jvm </artifactId >
4040 <version >${kotlinx.coroutines.version} </version >
4141 </dependency >
4242
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ import com.fasterxml.jackson.module.paramnames.ParameterNamesModule
66import io.github.ermadmi78.kobby.cinema.api.kobby.kotlin.*
77import io.github.ermadmi78.kobby.cinema.api.kobby.kotlin.adapter.ktor.CinemaCompositeKtorAdapter
88import io.ktor.client.*
9- import io.ktor.client.features.websocket.*
9+ import io.ktor.client.engine.cio.*
10+ import io.ktor.client.plugins.websocket.*
1011import kotlinx.coroutines.Dispatchers
1112import kotlinx.coroutines.Job
1213import kotlinx.coroutines.launch
@@ -214,7 +215,7 @@ class Application : CommandLineRunner {
214215
215216 private fun createKtorAdapter (): CinemaAdapter {
216217 // Create Ktor http client
217- val client = HttpClient {
218+ val client = HttpClient ( CIO ) {
218219 install(WebSockets )
219220 }
220221
Original file line number Diff line number Diff line change 5252
5353 <dependency >
5454 <groupId >org.jetbrains.kotlinx</groupId >
55- <artifactId >kotlinx-coroutines-core</artifactId >
55+ <artifactId >kotlinx-coroutines-core-jvm </artifactId >
5656 <version >${kotlinx.coroutines.version} </version >
5757 </dependency >
5858 <dependency >
Original file line number Diff line number Diff line change 2020 <maven .compiler.source>11</maven .compiler.source>
2121 <maven .compiler.target>11</maven .compiler.target>
2222
23- <kobby .version>1.6 .0</kobby .version>
23+ <kobby .version>2.0 .0</kobby .version>
2424
2525 <java .version>11</java .version>
26- <kotlin .version>1.5 .21</kotlin .version>
27- <kotlinx .coroutines.version>1.5.0 </kotlinx .coroutines.version>
28- <ktor .version>1.5.4 </ktor .version>
26+ <kotlin .version>1.6 .21</kotlin .version>
27+ <kotlinx .coroutines.version>1.6.4 </kotlinx .coroutines.version>
28+ <ktor .version>2.1.2 </ktor .version>
2929 <spring .boot.version>2.5.2</spring .boot.version>
30- <jackson .version>2.12.2 </jackson .version>
30+ <jackson .version>2.13.4 </jackson .version>
3131 <graphql .java.tools.version>11.0.1</graphql .java.tools.version>
3232 <graphql .java.kickstart.version>11.1.0</graphql .java.kickstart.version>
3333 <reactivestreams .version>1.0.3</reactivestreams .version>
You can’t perform that action at this time.
0 commit comments