Skip to content

Commit b6ffcef

Browse files
authored
Bump Ktor to 3.1.0 (#215)
1 parent 8028adb commit b6ffcef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+91
-91
lines changed

chat/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20"
7-
classpath "org.jetbrains.kotlin:kotlin-serialization:2.0.20"
6+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
7+
classpath "org.jetbrains.kotlin:kotlin-serialization:2.1.0"
88
}
99
}
1010

@@ -30,14 +30,14 @@ kotlin {
3030

3131
sourceSets.each {
3232
it.dependencies {
33-
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.0.3"))
33+
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.1.0"))
3434
}
3535
}
3636

3737
sourceSets {
3838
backendMain {
3939
dependencies {
40-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.0.20"
40+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0"
4141
implementation "io.ktor:ktor-server-netty"
4242
implementation "io.ktor:ktor-server-websockets"
4343
implementation "io.ktor:ktor-server-call-logging"

client-mpp/shared/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ kotlin {
2525

2626
sourceSets.forEach {
2727
it.dependencies {
28-
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.0.3"))
28+
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.1.0"))
2929
}
3030
}
3131

client-multipart/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
gradlePluginPortal()
55
}
66
dependencies {
7-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20"
8-
classpath "io.ktor.plugin:plugin:3.0.3"
7+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
8+
classpath "io.ktor.plugin:plugin:3.1.0"
99
}
1010
}
1111

@@ -27,7 +27,7 @@ repositories {
2727
}
2828

2929
dependencies {
30-
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.0.20'
30+
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0'
3131
implementation "io.ktor:ktor-server-html-builder"
3232
implementation 'ch.qos.logback:logback-classic:1.5.12'
3333
implementation 'io.ktor:ktor-server-netty-jvm'

client-native-image/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ repositories {
3535
}
3636

3737
dependencies {
38-
implementation("io.ktor:ktor-client-apache:3.0.3")
39-
implementation("io.ktor:ktor-client-cio:3.0.3")
38+
implementation("io.ktor:ktor-client-apache:3.1.0")
39+
implementation("io.ktor:ktor-client-cio:3.1.0")
4040
testImplementation(kotlin("test"))
4141
}
4242

client-tools/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
gradlePluginPortal()
55
}
66
dependencies {
7-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20"
8-
classpath "io.ktor.plugin:plugin:3.0.3"
7+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
8+
classpath "io.ktor.plugin:plugin:3.1.0"
99
}
1010
}
1111

@@ -27,7 +27,7 @@ repositories {
2727
}
2828

2929
dependencies {
30-
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.0.20'
30+
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0'
3131
implementation "io.ktor:ktor-server-html-builder"
3232
implementation 'ch.qos.logback:logback-classic:1.5.12'
3333
implementation 'io.ktor:ktor-server-netty-jvm'

di-kodein/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ val kotlin_version: String by project
22
val logback_version: String by project
33

44
plugins {
5-
kotlin("jvm") version "2.0.20"
6-
id("io.ktor.plugin") version "3.0.3"
7-
kotlin("plugin.serialization") version "2.0.20"
5+
kotlin("jvm") version "2.1.0"
6+
id("io.ktor.plugin") version "3.1.0"
7+
kotlin("plugin.serialization") version "2.1.0"
88
}
99

1010
application {

di-kodein/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.3.14
33
kotlin.code.style=official

filelisting/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ val kotlin_version: String by project
22
val logback_version: String by project
33

44
plugins {
5-
kotlin("jvm") version "2.0.20"
6-
id("io.ktor.plugin") version "3.0.3"
5+
kotlin("jvm") version "2.1.0"
6+
id("io.ktor.plugin") version "3.1.0"
77
}
88

99
application {

filelisting/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.3.14
33
kotlin.code.style=official

fullstack-mpp/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ kotlin {
2424

2525
sourceSets.forEach {
2626
it.dependencies {
27-
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.0.3"))
27+
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.1.0"))
2828
}
2929
}
3030

graalvm/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
application
3-
kotlin("jvm") version "2.0.20"
4-
id("io.ktor.plugin") version "3.0.3"
3+
kotlin("jvm") version "2.1.0"
4+
id("io.ktor.plugin") version "3.1.0"
55
id("org.graalvm.buildtools.native") version "0.9.19"
66
}
77

h2/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ val logback_version: String by project
33

44
plugins {
55
application
6-
kotlin("jvm") version "2.0.20"
7-
id("io.ktor.plugin") version "3.0.3"
6+
kotlin("jvm") version "2.1.0"
7+
id("io.ktor.plugin") version "3.1.0"
88
}
99

1010
group = "io.ktor.samples"

h2/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.3.14
33
kotlin.code.style=official

httpbin/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ val kotlin_version: String by project
22
val logback_version: String by project
33

44
plugins {
5-
kotlin("jvm") version "2.0.20"
6-
id("io.ktor.plugin") version "3.0.3"
5+
kotlin("jvm") version "2.1.0"
6+
id("io.ktor.plugin") version "3.1.0"
77
}
88

99
application {

httpbin/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.3.14
33
kotlin.code.style=official
44

jwt-auth-tests/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
2-
kotlin("jvm") version "2.0.20"
3-
kotlin("plugin.serialization") version "2.0.20"
4-
id("io.ktor.plugin") version "3.0.3"
2+
kotlin("jvm") version "2.1.0"
3+
kotlin("plugin.serialization") version "2.1.0"
4+
id("io.ktor.plugin") version "3.1.0"
55
}
66

77
application {

ktor-client-wasm/gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ compose = "1.6.2"
33
compose-plugin = "1.7.0"
44
junit = "4.13.2"
55
kotlin = "2.1.0"
6-
ktor = "3.0.3"
6+
ktor = "3.1.0"
77

88
[libraries]
99
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }

kweet/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ val logback_version: String by project
33
val exposed_version: String by project
44

55
plugins {
6-
kotlin("jvm") version "2.0.20"
7-
id("io.ktor.plugin") version "3.0.3"
8-
kotlin("plugin.serialization") version "2.0.20"
6+
kotlin("jvm") version "2.1.0"
7+
id("io.ktor.plugin") version "3.1.0"
8+
kotlin("plugin.serialization") version "2.1.0"
99
}
1010

1111
application {

kweet/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.3.14
33
exposed_version=0.40.1
44
kotlin.code.style=official

location-header/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ val kotlin_version: String by project
22
val logback_version: String by project
33

44
plugins {
5-
kotlin("jvm") version "2.0.20"
6-
id("io.ktor.plugin") version "3.0.3"
5+
kotlin("jvm") version "2.1.0"
6+
id("io.ktor.plugin") version "3.1.0"
77
}
88

99
application {

location-header/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.3.14
33
kotlin.code.style=official

maven-google-appengine-standard/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<artifactId>maven-google-appengine-standard</artifactId>
1212

1313
<properties>
14-
<kotlin.version>2.0.20</kotlin.version>
14+
<kotlin.version>2.1.0</kotlin.version>
1515
<slf4j.version>1.7.36</slf4j.version>
1616
<appengine.version>2.0.31</appengine.version>
1717
<servlet.version>4.0.1</servlet.version>
@@ -37,7 +37,7 @@
3737
<dependency>
3838
<groupId>io.ktor</groupId>
3939
<artifactId>ktor-bom</artifactId>
40-
<version>3.0.3</version>
40+
<version>3.1.0</version>
4141
<type>pom</type>
4242
<scope>import</scope>
4343
</dependency>

mongodb/build.gradle.kts

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ val logback_version: String by project
33
val mongodb_version: String by project
44

55
plugins {
6-
kotlin("jvm") version "2.0.20"
7-
id("io.ktor.plugin") version "3.0.3"
8-
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20"
6+
kotlin("jvm") version "2.1.0"
7+
id("io.ktor.plugin") version "3.1.0"
8+
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.0"
99
}
1010

1111
group = "com.example"
@@ -32,7 +32,7 @@ dependencies {
3232
implementation("org.litote.kmongo:kmongo:$mongodb_version")
3333
testImplementation("io.ktor:ktor-server-test-host-jvm")
3434
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
35-
testImplementation("io.ktor:ktor-server-test-host-jvm:3.0.3")
35+
testImplementation("io.ktor:ktor-server-test-host-jvm:3.1.0")
3636
}
3737

3838
tasks.register("databaseInstance") {

mongodb/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.3.14
33
mongodb_version=4.8.0
44
kotlin.code.style=official

mvc-web/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ val h2_version: String by project
44
val exposed_version: String by project
55

66
plugins {
7-
kotlin("jvm") version "2.0.20"
8-
id("io.ktor.plugin") version "2.3.6"
9-
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20"
7+
kotlin("jvm") version "2.1.0"
8+
id("io.ktor.plugin") version "3.1.0"
9+
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.0"
1010
}
1111

1212
group = "com.example"

mvc-web/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.4.11
33
exposed_version=0.41.1
44
h2_version=2.1.214

native-image-server-with-yaml-config/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ val logback_version: String by project
44

55
plugins {
66
kotlin("jvm") version "2.0.10"
7-
id("io.ktor.plugin") version "3.0.3"
7+
id("io.ktor.plugin") version "3.1.0"
88
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.10"
99
id("org.graalvm.buildtools.native") version "0.10.2"
1010
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
kotlin.code.style=official
2-
ktor_version=3.0.3
2+
ktor_version=3.1.0
33
kotlin_version=2.0.10
44
logback_version=1.4.14

opentelemetry/client/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ val kotlin_version: String by project
44
val opentelemetry_version: String by project
55

66
plugins {
7-
kotlin("jvm") version "2.0.20"
8-
id("io.ktor.plugin") version "3.0.3"
7+
kotlin("jvm") version "2.1.0"
8+
id("io.ktor.plugin") version "3.1.0"
99
id("application")
1010
}
1111

opentelemetry/gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ktor_version=3.0.3
2-
kotlin_version=2.0.20
1+
ktor_version=3.1.0
2+
kotlin_version=2.1.0
33
logback_version=1.5.12
44
kotlin.code.style=official
55

opentelemetry/server/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ val opentelemetry_version: String by project
44
val logback_version: String by project
55

66
plugins {
7-
kotlin("jvm") version "2.0.20"
8-
id("io.ktor.plugin") version "3.0.3"
7+
kotlin("jvm") version "2.1.0"
8+
id("io.ktor.plugin") version "3.1.0"
99
id("application")
1010
}
1111

opentelemetry/shared/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ val opentelemetry_exporter_otlp_version: String by project
44
val opentelemetry_sdk_extension_autoconfigure_version: String by project
55

66
plugins {
7-
kotlin("jvm") version "2.0.20"
8-
id("io.ktor.plugin") version "3.0.3"
7+
kotlin("jvm") version "2.1.0"
8+
id("io.ktor.plugin") version "3.1.0"
99
}
1010

1111
dependencies {

postgres/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ val kotlin_version: String by project
22
val logback_version: String by project
33

44
plugins {
5-
kotlin("jvm") version "2.0.20"
6-
id("io.ktor.plugin") version "3.0.3"
7-
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20"
5+
kotlin("jvm") version "2.1.0"
6+
id("io.ktor.plugin") version "3.1.0"
7+
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.0"
88
}
99

1010
group = "com.example"

postgres/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.3.14
33
kotlin.code.style=official

redirect-with-exception/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ val kotlin_version: String by project
22
val logback_version: String by project
33

44
plugins {
5-
kotlin("jvm") version "2.0.20"
6-
id("io.ktor.plugin") version "3.0.3"
5+
kotlin("jvm") version "2.1.0"
6+
id("io.ktor.plugin") version "3.1.0"
77
}
88

99
application {
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.3.14
33
kotlin.code.style=official

reverse-proxy-ws/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ val kotlin_version: String by project
22
val logback_version: String by project
33

44
plugins {
5-
kotlin("jvm") version "2.0.20"
6-
id("io.ktor.plugin") version "3.0.3"
5+
kotlin("jvm") version "2.1.0"
6+
id("io.ktor.plugin") version "3.1.0"
77
}
88

99
application {

reverse-proxy-ws/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
kotlin_version=2.0.20
1+
kotlin_version=2.1.0
22
logback_version=1.3.14
33
kotlin.code.style=official

0 commit comments

Comments
 (0)