Skip to content

Commit 094b0ae

Browse files
Update Samples dependencies
1 parent 18afcd3 commit 094b0ae

20 files changed

+47
-37
lines changed

samples/grpc-app/build.gradle.kts

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
plugins {
66
kotlin("jvm") version "2.1.10"
77
kotlin("plugin.serialization") version "2.1.10"
8-
id("org.jetbrains.kotlinx.rpc.plugin") version "0.5.1-grpc-16"
8+
id("org.jetbrains.kotlinx.rpc.plugin") version "0.5.1"
99
id("com.google.protobuf") version "0.9.4"
1010
}
1111

@@ -22,9 +22,9 @@ kotlin {
2222
}
2323

2424
dependencies {
25-
implementation("org.jetbrains.kotlinx:kotlinx-rpc-grpc-core:0.5.1-grpc-16")
26-
implementation("ch.qos.logback:logback-classic:1.5.16")
27-
implementation("io.grpc:grpc-netty:1.69.0")
25+
implementation("org.jetbrains.kotlinx:kotlinx-rpc-grpc-core:0.5.1-grpc-39")
26+
implementation("ch.qos.logback:logback-classic:1.5.18")
27+
implementation("io.grpc:grpc-netty:1.71.0")
2828
}
2929

3030
rpc {
122 Bytes
Binary file not shown.

samples/grpc-app/gradle/wrapper/gradle-wrapper.properties

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
#
2-
# Copyright 2023-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
3-
#
4-
51
distributionBase=GRADLE_USER_HOME
62
distributionPath=wrapper/dists
7-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
84
networkTimeout=10000
95
validateDistributionUrl=true
106
zipStoreBase=GRADLE_USER_HOME

samples/grpc-app/gradlew

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
#!/bin/sh
22

33
#
4-
# Copyright 2023-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
4+
# Copyright © 2015-2021 the original authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# https://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
# SPDX-License-Identifier: Apache-2.0
519
#
620

721
##############################################################################
@@ -191,7 +205,7 @@ fi
191205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
192206

193207
# Collect all arguments for the java command:
194-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
195209
# and any embedded shellness will be escaped.
196210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
197211
# treated as '${Hostname}' itself on the command line.

samples/ktor-all-platforms-app/gradle/libs.versions.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
[versions]
22
kotlin = "2.1.10"
33

4-
agp = "8.8.0-alpha05"
4+
agp = "8.9.0"
55
android-compileSdk = "35"
66
android-minSdk = "24"
77
android-targetSdk = "35"
8-
androidx-activityCompose = "1.9.3"
8+
androidx-activityCompose = "1.10.1"
99
androidx-appcompat = "1.7.0"
10-
androidx-constraintlayout = "2.2.0"
10+
androidx-constraintlayout = "2.2.1"
1111
androidx-core-ktx = "1.15.0"
1212
androidx-espresso-core = "3.6.1"
1313
androidx-material = "1.12.0"
1414
androidx-test-junit = "1.2.1"
15-
compose = "1.7.6"
16-
compose-plugin = "1.8.0-alpha01"
15+
compose = "1.7.8"
16+
compose-plugin = "1.8.0-SNAPSHOT+pull-5245"
1717
junit = "4.13.2"
18-
ktor = "3.0.3"
19-
logback = "1.5.16"
18+
ktor = "3.1.1"
19+
logback = "1.5.18"
2020
serialization = "1.8.0"
2121
coroutines = "1.10.1"
2222
kotlinx-rpc = "0.5.1"
Binary file not shown.

samples/ktor-all-platforms-app/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

samples/ktor-all-platforms-app/gradlew

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ fi
205205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
206206

207207
# Collect all arguments for the java command:
208-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
209209
# and any embedded shellness will be escaped.
210210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
211211
# treated as '${Hostname}' itself on the command line.

samples/ktor-android-app/gradle/libs.versions.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[versions]
2-
agp = "8.8.0"
2+
agp = "8.9.0"
33
kotlin = "2.1.10"
4-
androidx-activityCompose = "1.9.3"
4+
androidx-activityCompose = "1.10.1"
55
androidx-appcompat = "1.7.0"
6-
androidx-constraintlayout = "2.2.0"
6+
androidx-constraintlayout = "2.2.1"
77
androidx-core-ktx = "1.15.0"
88
androidx-test-junit = "1.2.1"
9-
compose = "1.7.6"
9+
compose = "1.7.8"
1010
compose-plugin = "1.5.14" # https://mvnrepository.com/artifact/androidx.compose.compiler/compiler
1111
compose-bom = "2024.12.01"
1212
material3 = "1.3.1"
1313
junit = "4.13.2"
14-
ktor = "3.0.3"
14+
ktor = "3.1.1"
1515
kotlinx-serialization-json = "1.8.0"
1616
kotlinx-coroutines-core = "1.10.1"
17-
logback = "1.5.16"
17+
logback = "1.5.18"
1818
kotlinx-rpc = "0.5.1"
1919

2020
[libraries]
Binary file not shown.

samples/ktor-android-app/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

samples/ktor-android-app/gradlew

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ fi
205205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
206206

207207
# Collect all arguments for the java command:
208-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
209209
# and any embedded shellness will be escaped.
210210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
211211
# treated as '${Hostname}' itself on the command line.

samples/ktor-web-app/gradle/libs.versions.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[versions]
22
kotlin = "2.1.10"
3-
kotlin-wrappers-bom = "2025.1.2"
4-
ktor = "3.0.3"
3+
kotlin-wrappers-bom = "2025.3.17"
4+
ktor = "3.1.1"
55
kotlinx-serialization-json = "1.8.0"
66
kotlinx-coroutines-core = "1.10.1"
7-
logback = "1.5.16"
7+
logback = "1.5.18"
88
kotlinx-rpc = "0.5.1"
99

1010
[libraries]
Binary file not shown.

samples/ktor-web-app/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

samples/ktor-web-app/gradlew

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ fi
205205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
206206

207207
# Collect all arguments for the java command:
208-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
209209
# and any embedded shellness will be escaped.
210210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
211211
# treated as '${Hostname}' itself on the command line.

samples/simple-ktor-app/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
plugins {
66
kotlin("jvm") version "2.1.10"
77
kotlin("plugin.serialization") version "2.1.10"
8-
id("io.ktor.plugin") version "3.0.3"
8+
id("io.ktor.plugin") version "3.1.1"
99
id("org.jetbrains.kotlinx.rpc.plugin") version "0.5.1"
1010
}
1111

@@ -37,7 +37,7 @@ dependencies {
3737

3838
implementation("io.ktor:ktor-client-cio")
3939
implementation("io.ktor:ktor-server-netty-jvm")
40-
implementation("ch.qos.logback:logback-classic:1.5.16")
40+
implementation("ch.qos.logback:logback-classic:1.5.18")
4141

4242
testImplementation("io.ktor:ktor-server-test-host")
4343
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:2.1.10")
Binary file not shown.

samples/simple-ktor-app/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

samples/simple-ktor-app/gradlew

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ fi
205205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
206206

207207
# Collect all arguments for the java command:
208-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
209209
# and any embedded shellness will be escaped.
210210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
211211
# treated as '${Hostname}' itself on the command line.

0 commit comments

Comments
 (0)