diff --git a/codeSnippets/gradle.properties b/codeSnippets/gradle.properties index 132af5ad6..f55ff051a 100644 --- a/codeSnippets/gradle.properties +++ b/codeSnippets/gradle.properties @@ -5,7 +5,7 @@ kotlin.native.binary.memoryModel = experimental # gradle configuration org.gradle.configureondemand = false # versions -kotlin_version = 2.0.0 +kotlin_version = 2.1.0-saturn-419 ktor_version = 2.3.12 kotlinx_coroutines_version = 2.0.0 kotlinx_serialization_version = 2.0.0 diff --git a/codeSnippets/snippets/auth-jwt-hs256/build.gradle.kts b/codeSnippets/snippets/auth-jwt-hs256/build.gradle.kts index 691cee616..aa1b66823 100644 --- a/codeSnippets/snippets/auth-jwt-hs256/build.gradle.kts +++ b/codeSnippets/snippets/auth-jwt-hs256/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/auth-jwt-rs256/build.gradle.kts b/codeSnippets/snippets/auth-jwt-rs256/build.gradle.kts index b7686cbfe..dc0225cf5 100644 --- a/codeSnippets/snippets/auth-jwt-rs256/build.gradle.kts +++ b/codeSnippets/snippets/auth-jwt-rs256/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/auth-oauth-google/build.gradle.kts b/codeSnippets/snippets/auth-oauth-google/build.gradle.kts index 243034f5f..be766051f 100644 --- a/codeSnippets/snippets/auth-oauth-google/build.gradle.kts +++ b/codeSnippets/snippets/auth-oauth-google/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/client-auth-oauth-google/build.gradle.kts b/codeSnippets/snippets/client-auth-oauth-google/build.gradle.kts index 12c7dbdd1..49a7cc893 100644 --- a/codeSnippets/snippets/client-auth-oauth-google/build.gradle.kts +++ b/codeSnippets/snippets/client-auth-oauth-google/build.gradle.kts @@ -6,7 +6,7 @@ val hamcrest_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/client-engine-js/build.gradle.kts b/codeSnippets/snippets/client-engine-js/build.gradle.kts index 5251dfe62..05148ad29 100644 --- a/codeSnippets/snippets/client-engine-js/build.gradle.kts +++ b/codeSnippets/snippets/client-engine-js/build.gradle.kts @@ -3,7 +3,7 @@ val kotlinx_html_version: String by project plugins { kotlin("js") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } repositories { diff --git a/codeSnippets/snippets/client-json-kotlinx/build.gradle.kts b/codeSnippets/snippets/client-json-kotlinx/build.gradle.kts index be576dd21..94c9928fa 100644 --- a/codeSnippets/snippets/client-json-kotlinx/build.gradle.kts +++ b/codeSnippets/snippets/client-json-kotlinx/build.gradle.kts @@ -6,7 +6,7 @@ val hamcrest_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/client-testing-mock/build.gradle.kts b/codeSnippets/snippets/client-testing-mock/build.gradle.kts index 2d48eb17a..5ddf4f26b 100644 --- a/codeSnippets/snippets/client-testing-mock/build.gradle.kts +++ b/codeSnippets/snippets/client-testing-mock/build.gradle.kts @@ -4,7 +4,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/client-type-safe-requests/build.gradle.kts b/codeSnippets/snippets/client-type-safe-requests/build.gradle.kts index 7c6c85ca4..f02899a38 100644 --- a/codeSnippets/snippets/client-type-safe-requests/build.gradle.kts +++ b/codeSnippets/snippets/client-type-safe-requests/build.gradle.kts @@ -6,7 +6,7 @@ val hamcrest_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/client-validate-2xx-response/build.gradle.kts b/codeSnippets/snippets/client-validate-2xx-response/build.gradle.kts index 994e9324f..5ec7ce347 100644 --- a/codeSnippets/snippets/client-validate-2xx-response/build.gradle.kts +++ b/codeSnippets/snippets/client-validate-2xx-response/build.gradle.kts @@ -6,7 +6,7 @@ val hamcrest_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/client-websockets-serialization/build.gradle.kts b/codeSnippets/snippets/client-websockets-serialization/build.gradle.kts index 5cc1015cc..519ca6228 100644 --- a/codeSnippets/snippets/client-websockets-serialization/build.gradle.kts +++ b/codeSnippets/snippets/client-websockets-serialization/build.gradle.kts @@ -6,7 +6,7 @@ val hamcrest_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/cors/build.gradle.kts b/codeSnippets/snippets/cors/build.gradle.kts index a7047c150..2200b4c5b 100644 --- a/codeSnippets/snippets/cors/build.gradle.kts +++ b/codeSnippets/snippets/cors/build.gradle.kts @@ -6,7 +6,7 @@ val junit_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/json-kotlinx-method-override/build.gradle.kts b/codeSnippets/snippets/json-kotlinx-method-override/build.gradle.kts index 9ea3800bc..a3c1ab996 100644 --- a/codeSnippets/snippets/json-kotlinx-method-override/build.gradle.kts +++ b/codeSnippets/snippets/json-kotlinx-method-override/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/json-kotlinx-openapi/build.gradle.kts b/codeSnippets/snippets/json-kotlinx-openapi/build.gradle.kts index 7408028ed..5ebb7e321 100644 --- a/codeSnippets/snippets/json-kotlinx-openapi/build.gradle.kts +++ b/codeSnippets/snippets/json-kotlinx-openapi/build.gradle.kts @@ -6,7 +6,7 @@ val swagger_codegen_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/json-kotlinx/build.gradle.kts b/codeSnippets/snippets/json-kotlinx/build.gradle.kts index 55936788b..aeadfadf8 100644 --- a/codeSnippets/snippets/json-kotlinx/build.gradle.kts +++ b/codeSnippets/snippets/json-kotlinx/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/migrating-express-ktor/1_hello/build.gradle.kts b/codeSnippets/snippets/migrating-express-ktor/1_hello/build.gradle.kts index 96ab4867c..6d9ae513b 100644 --- a/codeSnippets/snippets/migrating-express-ktor/1_hello/build.gradle.kts +++ b/codeSnippets/snippets/migrating-express-ktor/1_hello/build.gradle.kts @@ -4,7 +4,7 @@ val logback_version: String by project plugins { application - kotlin("jvm") version "1.8.0" + kotlin("jvm") version "1.9.25" } group = "com.example" diff --git a/codeSnippets/snippets/migrating-express-ktor/1_hello_config/build.gradle.kts b/codeSnippets/snippets/migrating-express-ktor/1_hello_config/build.gradle.kts index 326c9fc61..6b50097ad 100644 --- a/codeSnippets/snippets/migrating-express-ktor/1_hello_config/build.gradle.kts +++ b/codeSnippets/snippets/migrating-express-ktor/1_hello_config/build.gradle.kts @@ -4,7 +4,7 @@ val logback_version: String by project plugins { application - kotlin("jvm") version "1.8.0" + kotlin("jvm") version "1.9.25" } application { diff --git a/codeSnippets/snippets/migrating-express-ktor/2_static/build.gradle.kts b/codeSnippets/snippets/migrating-express-ktor/2_static/build.gradle.kts index 326c9fc61..6b50097ad 100644 --- a/codeSnippets/snippets/migrating-express-ktor/2_static/build.gradle.kts +++ b/codeSnippets/snippets/migrating-express-ktor/2_static/build.gradle.kts @@ -4,7 +4,7 @@ val logback_version: String by project plugins { application - kotlin("jvm") version "1.8.0" + kotlin("jvm") version "1.9.25" } application { diff --git a/codeSnippets/snippets/migrating-express-ktor/3_router/build.gradle.kts b/codeSnippets/snippets/migrating-express-ktor/3_router/build.gradle.kts index 326c9fc61..6b50097ad 100644 --- a/codeSnippets/snippets/migrating-express-ktor/3_router/build.gradle.kts +++ b/codeSnippets/snippets/migrating-express-ktor/3_router/build.gradle.kts @@ -4,7 +4,7 @@ val logback_version: String by project plugins { application - kotlin("jvm") version "1.8.0" + kotlin("jvm") version "1.9.25" } application { diff --git a/codeSnippets/snippets/migrating-express-ktor/4_parameters/build.gradle.kts b/codeSnippets/snippets/migrating-express-ktor/4_parameters/build.gradle.kts index 326c9fc61..6b50097ad 100644 --- a/codeSnippets/snippets/migrating-express-ktor/4_parameters/build.gradle.kts +++ b/codeSnippets/snippets/migrating-express-ktor/4_parameters/build.gradle.kts @@ -4,7 +4,7 @@ val logback_version: String by project plugins { application - kotlin("jvm") version "1.8.0" + kotlin("jvm") version "1.9.25" } application { diff --git a/codeSnippets/snippets/migrating-express-ktor/5_send_response/build.gradle.kts b/codeSnippets/snippets/migrating-express-ktor/5_send_response/build.gradle.kts index e73340fcb..17a25d704 100644 --- a/codeSnippets/snippets/migrating-express-ktor/5_send_response/build.gradle.kts +++ b/codeSnippets/snippets/migrating-express-ktor/5_send_response/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/migrating-express-ktor/6_templates/build.gradle.kts b/codeSnippets/snippets/migrating-express-ktor/6_templates/build.gradle.kts index 7f4fa0681..c2c42988d 100644 --- a/codeSnippets/snippets/migrating-express-ktor/6_templates/build.gradle.kts +++ b/codeSnippets/snippets/migrating-express-ktor/6_templates/build.gradle.kts @@ -4,7 +4,7 @@ val logback_version: String by project plugins { application - kotlin("jvm") version "1.8.0" + kotlin("jvm") version "1.9.25" } application { diff --git a/codeSnippets/snippets/migrating-express-ktor/7_receive_request/build.gradle.kts b/codeSnippets/snippets/migrating-express-ktor/7_receive_request/build.gradle.kts index 44057faa9..cb186b67d 100644 --- a/codeSnippets/snippets/migrating-express-ktor/7_receive_request/build.gradle.kts +++ b/codeSnippets/snippets/migrating-express-ktor/7_receive_request/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/migrating-express-ktor/8_middleware/build.gradle.kts b/codeSnippets/snippets/migrating-express-ktor/8_middleware/build.gradle.kts index 326c9fc61..6b50097ad 100644 --- a/codeSnippets/snippets/migrating-express-ktor/8_middleware/build.gradle.kts +++ b/codeSnippets/snippets/migrating-express-ktor/8_middleware/build.gradle.kts @@ -4,7 +4,7 @@ val logback_version: String by project plugins { application - kotlin("jvm") version "1.8.0" + kotlin("jvm") version "1.9.25" } application { diff --git a/codeSnippets/snippets/migrating-express-ktor/gradle.properties b/codeSnippets/snippets/migrating-express-ktor/gradle.properties index 8b4ba2c79..d52719c1b 100644 --- a/codeSnippets/snippets/migrating-express-ktor/gradle.properties +++ b/codeSnippets/snippets/migrating-express-ktor/gradle.properties @@ -1,4 +1,4 @@ ktor_version=2.3.12 -kotlin_version=2.0.0 +kotlin_version=2.1.0-saturn-419 logback_version=1.5.6 kotlin.code.style=official diff --git a/codeSnippets/snippets/request-validation/build.gradle.kts b/codeSnippets/snippets/request-validation/build.gradle.kts index a2210787e..bd9c34584 100644 --- a/codeSnippets/snippets/request-validation/build.gradle.kts +++ b/codeSnippets/snippets/request-validation/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/resource-routing/build.gradle.kts b/codeSnippets/snippets/resource-routing/build.gradle.kts index 1e6e4daaa..6c0272711 100644 --- a/codeSnippets/snippets/resource-routing/build.gradle.kts +++ b/codeSnippets/snippets/resource-routing/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/server-websockets-serialization/build.gradle.kts b/codeSnippets/snippets/server-websockets-serialization/build.gradle.kts index ad0db809b..64cc0696a 100644 --- a/codeSnippets/snippets/server-websockets-serialization/build.gradle.kts +++ b/codeSnippets/snippets/server-websockets-serialization/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { application kotlin("jvm") - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/server-websockets-sharedflow/build.gradle.kts b/codeSnippets/snippets/server-websockets-sharedflow/build.gradle.kts index 41edfdfd4..8282c86e1 100644 --- a/codeSnippets/snippets/server-websockets-sharedflow/build.gradle.kts +++ b/codeSnippets/snippets/server-websockets-sharedflow/build.gradle.kts @@ -6,7 +6,7 @@ plugins { application kotlin("jvm") id("io.ktor.plugin") version "2.3.12" - kotlin("plugin.serialization").version("2.0.0") + kotlin("plugin.serialization").version("2.0.20") } application { diff --git a/codeSnippets/snippets/tutorial-client-kmm/gradle/libs.versions.toml b/codeSnippets/snippets/tutorial-client-kmm/gradle/libs.versions.toml index 4cd697e76..6b2fe267b 100644 --- a/codeSnippets/snippets/tutorial-client-kmm/gradle/libs.versions.toml +++ b/codeSnippets/snippets/tutorial-client-kmm/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] agp = "8.3.1" -kotlin = "2.0.0" +kotlin = "2.1.0-saturn-419" coroutines = "2.0.0" ktor = "2.3.12" compose = "1.6.8" diff --git a/codeSnippets/snippets/tutorial-full-stack-task-manager/gradle/libs.versions.toml b/codeSnippets/snippets/tutorial-full-stack-task-manager/gradle/libs.versions.toml index 10666eb9e..68e738c4e 100644 --- a/codeSnippets/snippets/tutorial-full-stack-task-manager/gradle/libs.versions.toml +++ b/codeSnippets/snippets/tutorial-full-stack-task-manager/gradle/libs.versions.toml @@ -13,7 +13,7 @@ androidx-material = "1.12.0" androidx-test-junit = "1.2.1" compose-plugin = "1.6.11" junit = "4.13.2" -kotlin = "2.0.0" +kotlin = "2.1.0-saturn-419" kotlinx-coroutines = "1.8.1" ktor = "2.3.12" logback = "1.5.6" diff --git a/codeSnippets/snippets/tutorial-full-stack-task-manager/shared/build.gradle.kts b/codeSnippets/snippets/tutorial-full-stack-task-manager/shared/build.gradle.kts index d595045db..433d1d2c5 100644 --- a/codeSnippets/snippets/tutorial-full-stack-task-manager/shared/build.gradle.kts +++ b/codeSnippets/snippets/tutorial-full-stack-task-manager/shared/build.gradle.kts @@ -5,7 +5,7 @@ plugins { //... alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.androidLibrary) - kotlin("plugin.serialization") version "1.9.20" + kotlin("plugin.serialization") version "1.9.25" } kotlin { diff --git a/codeSnippets/snippets/tutorial-kotlin-rpc-app/build.gradle.kts b/codeSnippets/snippets/tutorial-kotlin-rpc-app/build.gradle.kts index fd40d27ee..24cdbe254 100644 --- a/codeSnippets/snippets/tutorial-kotlin-rpc-app/build.gradle.kts +++ b/codeSnippets/snippets/tutorial-kotlin-rpc-app/build.gradle.kts @@ -1,6 +1,6 @@ plugins { - kotlin("jvm") version "1.9.24" - kotlin("plugin.serialization") version "1.9.24" + kotlin("jvm") version "1.9.25" + kotlin("plugin.serialization") version "1.9.25" id("io.ktor.plugin") version "2.3.12" id("com.google.devtools.ksp") version "1.9.24-1.0.20" id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.1" diff --git a/codeSnippets/snippets/tutorial-server-db-integration/build.gradle.kts b/codeSnippets/snippets/tutorial-server-db-integration/build.gradle.kts index 6e900985a..e4d45d5b1 100644 --- a/codeSnippets/snippets/tutorial-server-db-integration/build.gradle.kts +++ b/codeSnippets/snippets/tutorial-server-db-integration/build.gradle.kts @@ -6,7 +6,7 @@ plugins { application kotlin("jvm") id("io.ktor.plugin") version "2.3.12" - id("org.jetbrains.kotlin.plugin.serialization") version "2.0.0" + id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20" } group = "com.example" diff --git a/codeSnippets/snippets/tutorial-server-docker-compose/build.gradle.kts b/codeSnippets/snippets/tutorial-server-docker-compose/build.gradle.kts index 6e900985a..e4d45d5b1 100644 --- a/codeSnippets/snippets/tutorial-server-docker-compose/build.gradle.kts +++ b/codeSnippets/snippets/tutorial-server-docker-compose/build.gradle.kts @@ -6,7 +6,7 @@ plugins { application kotlin("jvm") id("io.ktor.plugin") version "2.3.12" - id("org.jetbrains.kotlin.plugin.serialization") version "2.0.0" + id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20" } group = "com.example" diff --git a/codeSnippets/snippets/tutorial-server-get-started-maven/pom.xml b/codeSnippets/snippets/tutorial-server-get-started-maven/pom.xml index ad9d36db6..ac78168a6 100644 --- a/codeSnippets/snippets/tutorial-server-get-started-maven/pom.xml +++ b/codeSnippets/snippets/tutorial-server-get-started-maven/pom.xml @@ -10,7 +10,7 @@ 2.3.11 official - 1.9.22 + 1.9.25 1.5.6 2.0.12 UTF-8 diff --git a/codeSnippets/snippets/tutorial-server-restful-api/build.gradle.kts b/codeSnippets/snippets/tutorial-server-restful-api/build.gradle.kts index 34b3eb9c9..bc27c74f9 100644 --- a/codeSnippets/snippets/tutorial-server-restful-api/build.gradle.kts +++ b/codeSnippets/snippets/tutorial-server-restful-api/build.gradle.kts @@ -6,7 +6,7 @@ plugins { application kotlin("jvm") id("io.ktor.plugin") version "2.3.12" - id("org.jetbrains.kotlin.plugin.serialization") version "1.9.22" + id("org.jetbrains.kotlin.plugin.serialization") version "1.9.25" } application { diff --git a/codeSnippets/snippets/tutorial-server-websockets/build.gradle.kts b/codeSnippets/snippets/tutorial-server-websockets/build.gradle.kts index 184929981..f25725579 100644 --- a/codeSnippets/snippets/tutorial-server-websockets/build.gradle.kts +++ b/codeSnippets/snippets/tutorial-server-websockets/build.gradle.kts @@ -5,7 +5,7 @@ val logback_version: String by project plugins { kotlin("jvm") id("io.ktor.plugin") version "2.3.12" - id("org.jetbrains.kotlin.plugin.serialization") version "2.0.0" + id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20" } group = "com.example"