Skip to content

Commit 83946e8

Browse files
authored
Bump Ktor to 3.1.2 (#217)
1 parent 5a8f8c1 commit 83946e8

Some content is hidden

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

52 files changed

+98
-95
lines changed

Diff for: 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.1.0"
7-
classpath "org.jetbrains.kotlin:kotlin-serialization:2.1.0"
6+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.20"
7+
classpath "org.jetbrains.kotlin:kotlin-serialization:2.1.20"
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.1.1"))
33+
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.1.2"))
3434
}
3535
}
3636

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

Diff for: client-mpp/androidApp/build.gradle.kts

+3
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@ android {
3131
sourceCompatibility = JavaVersion.VERSION_17
3232
targetCompatibility = JavaVersion.VERSION_17
3333
}
34+
kotlinOptions {
35+
jvmTarget = "17"
36+
}
3437
namespace = "io.ktor.samples.mpp.client"
3538
}

Diff for: client-mpp/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
gradlePluginPortal()
66
}
77
dependencies {
8-
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0")
8+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.20")
99
classpath("com.android.tools.build:gradle:8.6.1")
1010
}
1111
}

Diff for: 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.1.1"))
28+
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.1.2"))
2929
}
3030
}
3131

Diff for: 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.1.0"
8-
classpath "io.ktor.plugin:plugin:3.1.1"
7+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.20"
8+
classpath "io.ktor.plugin:plugin:3.1.2"
99
}
1010
}
1111

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

2929
dependencies {
30-
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0'
30+
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.20'
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'

Diff for: 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.1.1")
39-
implementation("io.ktor:ktor-client-cio:3.1.1")
38+
implementation("io.ktor:ktor-client-apache:3.1.2")
39+
implementation("io.ktor:ktor-client-cio:3.1.2")
4040
testImplementation(kotlin("test"))
4141
}
4242

Diff for: 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.1.0"
8-
classpath "io.ktor.plugin:plugin:3.1.1"
7+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.20"
8+
classpath "io.ktor.plugin:plugin:3.1.2"
99
}
1010
}
1111

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

2929
dependencies {
30-
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0'
30+
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.20'
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'

Diff for: 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.1.0"
6-
id("io.ktor.plugin") version "3.1.1"
7-
kotlin("plugin.serialization") version "2.1.0"
5+
kotlin("jvm") version "2.1.20"
6+
id("io.ktor.plugin") version "3.1.2"
7+
kotlin("plugin.serialization") version "2.1.20"
88
}
99

1010
application {

Diff for: di-kodein/gradle.properties

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

Diff for: 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.1.0"
6-
id("io.ktor.plugin") version "3.1.1"
5+
kotlin("jvm") version "2.1.20"
6+
id("io.ktor.plugin") version "3.1.2"
77
}
88

99
application {

Diff for: filelisting/gradle.properties

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

Diff for: fullstack-mpp/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import org.jetbrains.kotlin.gradle.targets.js.webpack.*
22

33
plugins {
4-
id("org.jetbrains.kotlin.multiplatform") version "2.1.0"
4+
id("org.jetbrains.kotlin.multiplatform") version "2.1.20"
55
}
66

77
kotlin {
@@ -24,7 +24,7 @@ kotlin {
2424

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

Diff for: 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.1.0"
4-
id("io.ktor.plugin") version "3.1.1"
3+
kotlin("jvm") version "2.1.20"
4+
id("io.ktor.plugin") version "3.1.2"
55
id("org.graalvm.buildtools.native") version "0.9.19"
66
}
77

Diff for: 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.1.0"
7-
id("io.ktor.plugin") version "3.1.1"
6+
kotlin("jvm") version "2.1.20"
7+
id("io.ktor.plugin") version "3.1.2"
88
}
99

1010
group = "io.ktor.samples"

Diff for: h2/gradle.properties

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

Diff for: 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.1.0"
6-
id("io.ktor.plugin") version "3.1.1"
5+
kotlin("jvm") version "2.1.20"
6+
id("io.ktor.plugin") version "3.1.2"
77
}
88

99
application {

Diff for: httpbin/gradle.properties

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

Diff for: 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.1.0"
3-
kotlin("plugin.serialization") version "2.1.0"
4-
id("io.ktor.plugin") version "3.1.1"
2+
kotlin("jvm") version "2.1.20"
3+
kotlin("plugin.serialization") version "2.1.20"
4+
id("io.ktor.plugin") version "3.1.2"
55
}
66

77
application {

Diff for: ktor-client-wasm/gradle/libs.versions.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
compose = "1.6.2"
33
compose-plugin = "1.7.0"
44
junit = "4.13.2"
5-
kotlin = "2.1.0"
6-
ktor = "3.1.1"
5+
kotlin = "2.1.20"
6+
ktor = "3.1.2"
77

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

Diff for: kweet/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 exposed_version: String by project
44

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

1111
application {
@@ -35,7 +35,7 @@ dependencies {
3535
implementation("org.freemarker:freemarker:2.3.32")
3636
implementation("org.ehcache:ehcache:3.9.7")
3737
implementation("io.ktor:ktor-server-netty-jvm")
38-
testImplementation("io.mockk:mockk:1.13.4")
38+
testImplementation("io.mockk:mockk:1.13.17")
3939
testImplementation("org.jetbrains.kotlin:kotlin-test")
4040
testImplementation("io.ktor:ktor-server-test-host-jvm")
4141
}

Diff for: kweet/gradle.properties

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

Diff for: 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.1.0"
6-
id("io.ktor.plugin") version "3.1.1"
5+
kotlin("jvm") version "2.1.20"
6+
id("io.ktor.plugin") version "3.1.2"
77
}
88

99
application {

Diff for: location-header/gradle.properties

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

Diff for: 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.1.0</kotlin.version>
14+
<kotlin.version>2.1.20</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.1.1</version>
40+
<version>3.1.2</version>
4141
<type>pom</type>
4242
<scope>import</scope>
4343
</dependency>

Diff for: 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.1.0"
7-
id("io.ktor.plugin") version "3.1.1"
8-
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.0"
6+
kotlin("jvm") version "2.1.20"
7+
id("io.ktor.plugin") version "3.1.2"
8+
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.20"
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.1.1")
35+
testImplementation("io.ktor:ktor-server-test-host-jvm:3.1.2")
3636
}
3737

3838
tasks.register("databaseInstance") {

Diff for: mongodb/gradle.properties

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

Diff for: 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.1.0"
8-
id("io.ktor.plugin") version "3.1.1"
9-
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.0"
7+
kotlin("jvm") version "2.1.20"
8+
id("io.ktor.plugin") version "3.1.2"
9+
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.20"
1010
}
1111

1212
group = "com.example"

Diff for: mvc-web/gradle.properties

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

Diff for: 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.1.1"
7+
id("io.ktor.plugin") version "3.1.2"
88
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.10"
99
id("org.graalvm.buildtools.native") version "0.10.2"
1010
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
kotlin.code.style=official
2-
ktor_version=3.1.1
2+
ktor_version=3.1.2
33
kotlin_version=2.0.10
44
logback_version=1.4.14

Diff for: 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.1.0"
8-
id("io.ktor.plugin") version "3.1.1"
7+
kotlin("jvm") version "2.1.20"
8+
id("io.ktor.plugin") version "3.1.2"
99
id("application")
1010
}
1111

Diff for: opentelemetry/gradle.properties

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

Diff for: 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.1.0"
8-
id("io.ktor.plugin") version "3.1.1"
7+
kotlin("jvm") version "2.1.20"
8+
id("io.ktor.plugin") version "3.1.2"
99
id("application")
1010
}
1111

Diff for: 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.1.0"
8-
id("io.ktor.plugin") version "3.1.1"
7+
kotlin("jvm") version "2.1.20"
8+
id("io.ktor.plugin") version "3.1.2"
99
}
1010

1111
dependencies {

0 commit comments

Comments
 (0)