Skip to content

Commit

Permalink
Bump Ktor to 3.0.0 and Kotlin to 2.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Stexxe committed Oct 9, 2024
1 parent 1ac6457 commit d12954e
Show file tree
Hide file tree
Showing 48 changed files with 86 additions and 86 deletions.
6 changes: 3 additions & 3 deletions chat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20"
}
}

Expand All @@ -28,14 +28,14 @@ kotlin {

sourceSets.each {
it.dependencies {
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:2.3.12"))
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.0.0"))
}
}

sourceSets {
backendMain {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.21"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.0.20"
implementation "io.ktor:ktor-server-netty"
implementation "io.ktor:ktor-server-websockets"
implementation "io.ktor:ktor-server-call-logging"
Expand Down
2 changes: 1 addition & 1 deletion client-mpp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
gradlePluginPortal()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20")
classpath("com.android.tools.build:gradle:7.0.4")
}
}
Expand Down
2 changes: 1 addition & 1 deletion client-mpp/shared/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ kotlin {

sourceSets.each {
it.dependencies {
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:2.3.12"))
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.0.0"))
}
}

Expand Down
6 changes: 3 additions & 3 deletions client-multipart/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ buildscript {
gradlePluginPortal()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21"
classpath "io.ktor.plugin:plugin:2.3.12"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20"
classpath "io.ktor.plugin:plugin:3.0.0"
}
}

Expand All @@ -27,7 +27,7 @@ repositories {
}

dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.21'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.0.20'
implementation "io.ktor:ktor-server-html-builder"
implementation 'ch.qos.logback:logback-classic:1.4.6'
implementation 'io.ktor:ktor-server-netty-jvm'
Expand Down
6 changes: 3 additions & 3 deletions client-tools/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ buildscript {
gradlePluginPortal()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21"
classpath "io.ktor.plugin:plugin:2.3.12"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20"
classpath "io.ktor.plugin:plugin:3.0.0"
}
}

Expand All @@ -27,7 +27,7 @@ repositories {
}

dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.21'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.0.20'
implementation "io.ktor:ktor-server-html-builder"
implementation 'ch.qos.logback:logback-classic:1.4.6'
implementation 'io.ktor:ktor-server-netty-jvm'
Expand Down
6 changes: 3 additions & 3 deletions di-kodein/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ val kotlin_version: String by project
val logback_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("plugin.serialization") version "1.9.21"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
kotlin("plugin.serialization") version "2.0.20"
}

application {
Expand Down
2 changes: 1 addition & 1 deletion di-kodein/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin_version=1.9.21
kotlin_version=2.0.20
logback_version=1.2.11
kotlin.code.style=official
4 changes: 2 additions & 2 deletions filelisting/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ val kotlin_version: String by project
val logback_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
}

application {
Expand Down
2 changes: 1 addition & 1 deletion filelisting/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin_version=1.9.21
kotlin_version=2.0.20
logback_version=1.2.11
kotlin.code.style=official
4 changes: 2 additions & 2 deletions fullstack-mpp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20"
}
}

Expand All @@ -29,7 +29,7 @@ kotlin {

sourceSets.each {
it.dependencies {
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:2.3.12"))
implementation(project.dependencies.enforcedPlatform("io.ktor:ktor-bom:3.0.0"))
}
}

Expand Down
4 changes: 2 additions & 2 deletions graalvm/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
application
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
id("org.graalvm.buildtools.native") version "0.9.19"
}

Expand Down
4 changes: 2 additions & 2 deletions h2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ val logback_version: String by project

plugins {
application
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
}

group = "io.ktor.samples"
Expand Down
2 changes: 1 addition & 1 deletion h2/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin_version=1.9.21
kotlin_version=2.0.20
logback_version=1.2.11
kotlin.code.style=official
4 changes: 2 additions & 2 deletions httpbin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ val kotlin_version: String by project
val logback_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
}

application {
Expand Down
2 changes: 1 addition & 1 deletion httpbin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kotlin_version=1.9.21
kotlin_version=2.0.20
logback_version=1.2.11
kotlin.code.style=official

Expand Down
6 changes: 3 additions & 3 deletions jwt-auth-tests/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
kotlin("jvm") version "1.9.21"
kotlin("plugin.serialization") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
kotlin("plugin.serialization") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
}

application {
Expand Down
2 changes: 1 addition & 1 deletion ktor-client-wasm/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
compose = "1.6.2"
compose-plugin = "1.6.0"
junit = "4.13.2"
kotlin = "1.9.22"
kotlin = "2.0.20"
ktor = "3.0.0-beta-2-eap-920"

[libraries]
Expand Down
6 changes: 3 additions & 3 deletions kweet/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ val logback_version: String by project
val exposed_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("plugin.serialization") version "1.9.21"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
kotlin("plugin.serialization") version "2.0.20"
}

application {
Expand Down
2 changes: 1 addition & 1 deletion kweet/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kotlin_version=1.9.21
kotlin_version=2.0.20
logback_version=1.2.11
exposed_version=0.40.1
kotlin.code.style=official
4 changes: 2 additions & 2 deletions location-header/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ val kotlin_version: String by project
val logback_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
}

application {
Expand Down
2 changes: 1 addition & 1 deletion location-header/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin_version=1.9.21
kotlin_version=2.0.20
logback_version=1.2.11
kotlin.code.style=official
4 changes: 2 additions & 2 deletions maven-google-appengine-standard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<artifactId>maven-google-appengine-standard</artifactId>

<properties>
<kotlin.version>1.9.21</kotlin.version>
<kotlin.version>2.0.20</kotlin.version>
<slf4j.version>1.7.36</slf4j.version>
<appengine.version>2.0.12</appengine.version>
<servlet.version>4.0.1</servlet.version>
Expand All @@ -37,7 +37,7 @@
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-bom</artifactId>
<version>2.3.12</version>
<version>3.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
8 changes: 4 additions & 4 deletions mongodb/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ val logback_version: String by project
val mongodb_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.21"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20"
}

group = "com.example"
Expand All @@ -32,7 +32,7 @@ dependencies {
implementation("org.litote.kmongo:kmongo:$mongodb_version")
testImplementation("io.ktor:ktor-server-tests-jvm")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
testImplementation("io.ktor:ktor-server-test-host-jvm:2.3.12")
testImplementation("io.ktor:ktor-server-test-host-jvm:3.0.0")
}

tasks.register("databaseInstance") {
Expand Down
2 changes: 1 addition & 1 deletion mongodb/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kotlin_version=1.9.21
kotlin_version=2.0.20
logback_version=1.2.11
mongodb_version=4.8.0
kotlin.code.style=official
4 changes: 2 additions & 2 deletions mvc-web/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ val h2_version: String by project
val exposed_version: String by project

plugins {
kotlin("jvm") version "1.9.20"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "2.3.6"
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.20"
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20"
}

group = "com.example"
Expand Down
2 changes: 1 addition & 1 deletion mvc-web/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kotlin_version=1.9.20
kotlin_version=2.0.20
logback_version=1.4.11
exposed_version=0.41.1
h2_version=2.1.214
Expand Down
4 changes: 2 additions & 2 deletions opentelemetry/client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ val kotlin_version: String by project
val opentelemetry_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
id("application")
}

Expand Down
4 changes: 2 additions & 2 deletions opentelemetry/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ktor_version=2.3.12
kotlin_version=1.9.21
ktor_version=3.0.0
kotlin_version=2.0.20
logback_version=1.4.11
kotlin.code.style=official

Expand Down
4 changes: 2 additions & 2 deletions opentelemetry/server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ val opentelemetry_version: String by project
val logback_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
id("application")
}

Expand Down
4 changes: 2 additions & 2 deletions opentelemetry/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ val opentelemetry_version: String by project
val opentelemetry_semconv_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
}

dependencies {
Expand Down
4 changes: 2 additions & 2 deletions postgres/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ val kotlin_version: String by project
val logback_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "2.2.3"
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.21"
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20"
}

group = "com.example"
Expand Down
2 changes: 1 addition & 1 deletion postgres/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin_version=1.9.21
kotlin_version=2.0.20
logback_version=1.2.11
kotlin.code.style=official
4 changes: 2 additions & 2 deletions redirect-with-exception/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ val kotlin_version: String by project
val logback_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
}

application {
Expand Down
2 changes: 1 addition & 1 deletion redirect-with-exception/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin_version=1.9.21
kotlin_version=2.0.20
logback_version=1.2.11
kotlin.code.style=official
4 changes: 2 additions & 2 deletions reverse-proxy-ws/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ val kotlin_version: String by project
val logback_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
}

application {
Expand Down
2 changes: 1 addition & 1 deletion reverse-proxy-ws/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kotlin_version=1.9.21
kotlin_version=2.0.20
logback_version=1.2.11
kotlin.code.style=official
4 changes: 2 additions & 2 deletions reverse-proxy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ val kotlin_version: String by project
val logback_version: String by project

plugins {
kotlin("jvm") version "1.9.21"
id("io.ktor.plugin") version "2.3.12"
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.0"
}

application {
Expand Down
Loading

0 comments on commit d12954e

Please sign in to comment.