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"
15
15
compose = " 1.8.3"
16
16
compose-plugin = " 1.8.2"
17
17
junit = " 4.13.2"
18
- ktor = " 3.1.3 "
18
+ ktor = " 3.2.1 "
19
19
logback = " 1.5.18"
20
20
serialization = " 1.8.1"
21
21
coroutines = " 1.10.2"
Original file line number Diff line number Diff line change
1
+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
+
1
3
/*
2
4
* Copyright 2023-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
3
5
*/
@@ -47,9 +49,6 @@ android {
47
49
sourceCompatibility = JavaVersion .VERSION_17
48
50
targetCompatibility = JavaVersion .VERSION_17
49
51
}
50
- kotlinOptions {
51
- jvmTarget = " 17"
52
- }
53
52
buildFeatures {
54
53
compose = true
55
54
}
@@ -63,6 +62,12 @@ android {
63
62
}
64
63
}
65
64
65
+ kotlin {
66
+ compilerOptions {
67
+ jvmTarget = JvmTarget .JVM_17
68
+ }
69
+ }
70
+
66
71
dependencies {
67
72
implementation(projects.common)
68
73
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
22
22
import androidx.compose.ui.unit.dp
23
23
import kotlinx.rpc.sample.ui.state.WelcomeData
24
24
import kotlinx.rpc.sample.ui.theme.KtorApplicationTheme
25
-
26
25
import androidx.compose.runtime.collectAsState
27
26
import androidx.compose.runtime.getValue
28
27
Original file line number Diff line number Diff line change 5
5
plugins {
6
6
alias(libs.plugins.kotlinJvm)
7
7
alias(libs.plugins.kotlinPluginSerialization)
8
- alias(libs.plugins.ktor)
9
8
alias(libs.plugins.kotlinx.rpc)
10
9
}
11
10
@@ -16,4 +15,4 @@ dependencies {
16
15
implementation(libs.kotlinx.serialization.json)
17
16
implementation(libs.kotlinx.rpc.krpc.ktor.server)
18
17
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.
11
11
compose-bom = " 2025.06.01"
12
12
material3 = " 1.3.2"
13
13
junit = " 4.13.2"
14
- ktor = " 3.2.0 "
14
+ ktor = " 3.2.1 "
15
15
kotlinx-serialization-json = " 1.8.1"
16
16
kotlinx-coroutines-core = " 1.10.2"
17
17
logback = " 1.5.18"
Original file line number Diff line number Diff line change 1
1
[versions ]
2
2
kotlin = " 2.2.0"
3
3
kotlin-wrappers-bom = " 2025.6.11"
4
- ktor = " 3.2.0 "
4
+ ktor = " 3.2.1 "
5
5
kotlinx-serialization-json = " 1.8.1"
6
6
kotlinx-coroutines-core = " 1.10.2"
7
7
logback = " 1.5.18"
Original file line number Diff line number Diff line change 5
5
plugins {
6
6
kotlin(" jvm" ) version " 2.2.0"
7
7
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 "
9
9
id(" org.jetbrains.kotlinx.rpc.plugin" ) version " 0.8.0"
10
10
}
11
11
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
9
9
# kotlin independent versions
10
10
detekt-analyzer = " 1.23.6"
11
11
coroutines = " 1.10.2"
12
- ktor = " 3.2.0 "
12
+ ktor = " 3.2.1 "
13
13
kotlin-logging = " 7.0.7"
14
14
slf4j = " 2.0.17"
15
15
logback = " 1.3.14"
You can’t perform that action at this time.
0 commit comments