File tree Expand file tree Collapse file tree 8 files changed +14
-11
lines changed
ktor-all-platforms-app/gradle
src/main/kotlin/kotlinx/rpc/sample/ui Expand file tree Collapse file tree 8 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ androidx-test-junit = "1.2.1"
1515compose = " 1.8.3"
1616compose-plugin = " 1.8.2"
1717junit = " 4.13.2"
18- ktor = " 3.1.3 "
18+ ktor = " 3.2.1 "
1919logback = " 1.5.18"
2020serialization = " 1.8.1"
2121coroutines = " 1.10.2"
Original file line number Diff line number Diff line change 1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13/*
24 * Copyright 2023-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
35 */
@@ -47,9 +49,6 @@ android {
4749 sourceCompatibility = JavaVersion .VERSION_17
4850 targetCompatibility = JavaVersion .VERSION_17
4951 }
50- kotlinOptions {
51- jvmTarget = " 17"
52- }
5352 buildFeatures {
5453 compose = true
5554 }
@@ -63,6 +62,12 @@ android {
6362 }
6463}
6564
65+ kotlin {
66+ compilerOptions {
67+ jvmTarget = JvmTarget .JVM_17
68+ }
69+ }
70+
6671dependencies {
6772 implementation(projects.common)
6873 testImplementation(libs.kotlinx.rpc.krpc.client)
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import androidx.compose.ui.Modifier
2222import androidx.compose.ui.unit.dp
2323import kotlinx.rpc.sample.ui.state.WelcomeData
2424import kotlinx.rpc.sample.ui.theme.KtorApplicationTheme
25-
2625import androidx.compose.runtime.collectAsState
2726import androidx.compose.runtime.getValue
2827
Original file line number Diff line number Diff line change 55plugins {
66 alias(libs.plugins.kotlinJvm)
77 alias(libs.plugins.kotlinPluginSerialization)
8- alias(libs.plugins.ktor)
98 alias(libs.plugins.kotlinx.rpc)
109}
1110
@@ -16,4 +15,4 @@ dependencies {
1615 implementation(libs.kotlinx.serialization.json)
1716 implementation(libs.kotlinx.rpc.krpc.ktor.server)
1817 implementation(libs.kotlinx.rpc.krpc.serialization.json)
19- }
18+ }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ compose-plugin = "1.5.14" # https://mvnrepository.com/artifact/androidx.compose.
1111compose-bom = " 2025.06.01"
1212material3 = " 1.3.2"
1313junit = " 4.13.2"
14- ktor = " 3.2.0 "
14+ ktor = " 3.2.1 "
1515kotlinx-serialization-json = " 1.8.1"
1616kotlinx-coroutines-core = " 1.10.2"
1717logback = " 1.5.18"
Original file line number Diff line number Diff line change 11[versions ]
22kotlin = " 2.2.0"
33kotlin-wrappers-bom = " 2025.6.11"
4- ktor = " 3.2.0 "
4+ ktor = " 3.2.1 "
55kotlinx-serialization-json = " 1.8.1"
66kotlinx-coroutines-core = " 1.10.2"
77logback = " 1.5.18"
Original file line number Diff line number Diff line change 55plugins {
66 kotlin(" jvm" ) version " 2.2.0"
77 kotlin(" plugin.serialization" ) version " 2.2.0"
8- id(" io.ktor.plugin" ) version " 3.2.0 "
8+ id(" io.ktor.plugin" ) version " 3.2.1 "
99 id(" org.jetbrains.kotlinx.rpc.plugin" ) version " 0.8.0"
1010}
1111
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ kotlin-compiler = "0.0.0" # default to kotlin-lang or env.KOTLIN_COMPILER_VERSIO
99# kotlin independent versions
1010detekt-analyzer = " 1.23.6"
1111coroutines = " 1.10.2"
12- ktor = " 3.2.0 "
12+ ktor = " 3.2.1 "
1313kotlin-logging = " 7.0.7"
1414slf4j = " 2.0.17"
1515logback = " 1.3.14"
You can’t perform that action at this time.
0 commit comments