From 9f4b328114b474a89c23b4f371dbf9b330739957 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Sat, 23 Mar 2024 17:12:35 +0800 Subject: [PATCH] update kotlin client dependencies to newer versoins --- .../kotlin-client/build.gradle.mustache | 62 +++++++------------ .../build.gradle | 8 +-- .../build.gradle | 8 +-- .../build.gradle | 10 +-- .../build.gradle | 8 +-- .../kotlin-allOff-discriminator/build.gradle | 8 +-- .../build.gradle | 8 +-- .../build.gradle | 8 +-- .../build.gradle | 8 +-- .../build.gradle | 10 +-- .../kotlin-enum-default-value/build.gradle | 8 +-- .../client/petstore/kotlin-gson/build.gradle | 6 +- .../petstore/kotlin-jackson/build.gradle | 8 +-- .../kotlin-json-request-string/build.gradle | 6 +- .../petstore/kotlin-jvm-jackson/build.gradle | 10 +-- .../kotlin-jvm-ktor-gson/build.gradle | 6 +- .../kotlin-jvm-ktor-jackson/build.gradle | 8 +-- .../build.gradle | 6 +- .../build.gradle | 8 +-- .../build.gradle | 10 +-- .../build.gradle | 8 +-- .../build.gradle | 10 +-- .../kotlin-jvm-vertx-gson/build.gradle | 6 +- .../build.gradle | 10 +-- .../kotlin-jvm-vertx-jackson/build.gradle | 8 +-- .../kotlin-jvm-vertx-moshi/build.gradle | 8 +-- .../kotlin-kotlinx-datetime/build.gradle | 10 +-- .../build.gradle | 10 +-- .../petstore/kotlin-modelMutable/build.gradle | 8 +-- .../kotlin-moshi-codegen/build.gradle | 10 +-- .../build.gradle | 8 +-- .../petstore/kotlin-nonpublic/build.gradle | 8 +-- .../petstore/kotlin-nullable/build.gradle | 8 +-- .../kotlin-retrofit2-jackson/build.gradle | 10 +-- .../build.gradle | 10 +-- .../kotlin-retrofit2-rx3/build.gradle | 14 ++--- .../petstore/kotlin-retrofit2/build.gradle | 10 +-- .../petstore/kotlin-string/build.gradle | 8 +-- .../petstore/kotlin-threetenbp/build.gradle | 8 +-- .../kotlin-uppercase-enum/build.gradle | 6 +- samples/client/petstore/kotlin/build.gradle | 8 +-- 41 files changed, 193 insertions(+), 207 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/build.gradle.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/build.gradle.mustache index e3f73ddb85e9..ce6c5790329b 100644 --- a/modules/openapi-generator/src/main/resources/kotlin-client/build.gradle.mustache +++ b/modules/openapi-generator/src/main/resources/kotlin-client/build.gradle.mustache @@ -11,35 +11,29 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' {{#jvm-ktor}} - ext.ktor_version = '2.2.3' + ext.ktor_version = '2.3.9' {{/jvm-ktor}} {{#jvm-retrofit2}} - ext.retrofitVersion = '2.9.0' + ext.retrofitVersion = '2.10.0' {{/jvm-retrofit2}} - {{#useRxJava}} - ext.rxJavaVersion = '1.3.8' - {{/useRxJava}} - {{#useRxJava2}} - ext.rxJava2Version = '2.2.21' - {{/useRxJava2}} {{#useRxJava3}} - ext.rxJava3Version = '3.0.12' + ext.rxJava3Version = '3.1.8' {{/useRxJava3}} {{#jvm-vertx}} - ext.vertx_version = "4.3.3" + ext.vertx_version = "4.5.6" {{/jvm-vertx}} {{#jvm-spring}} {{#useSpringBoot3}} - ext.spring_boot_version = "3.2.0" + ext.spring_boot_version = "3.2.4" {{/useSpringBoot3}} {{^useSpringBoot3}} - ext.spring_boot_version = "2.7.12" + ext.spring_boot_version = "2.7.18" {{/useSpringBoot3}} {{#jvm-spring-webclient}} - ext.reactor_version = "3.5.6" + ext.reactor_version = "3.6.4" {{/jvm-spring-webclient}} {{/jvm-spring}} - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -126,31 +120,31 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" {{^doNotUseRxAndCoroutines}} {{#useCoroutines}} - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0" {{/useCoroutines}} {{/doNotUseRxAndCoroutines}} {{#moshi}} {{^moshiCodeGen}} implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" {{/moshiCodeGen}} {{#moshiCodeGen}} - implementation "com.squareup.moshi:moshi:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - kapt "com.squareup.moshi:moshi-kotlin-codegen:1.14.0" + implementation "com.squareup.moshi:moshi:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + kapt "com.squareup.moshi:moshi-kotlin-codegen:1.15.1" {{/moshiCodeGen}} {{/moshi}} {{#gson}} - implementation "com.google.code.gson:gson:2.9.0" + implementation "com.google.code.gson:gson:2.10.1" {{/gson}} {{#jackson}} implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" {{/jackson}} {{#kotlinx_serialization}} - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" + implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3" {{/kotlinx_serialization}} {{#jvm-ktor}} implementation "io.ktor:ktor-client-core:$ktor_version" @@ -165,10 +159,10 @@ dependencies { {{/jackson}} {{/jvm-ktor}} {{#jvm-okhttp3}} - implementation "com.squareup.okhttp3:okhttp:3.12.13" + implementation "com.squareup.okhttp3:okhttp:3.14.9" {{/jvm-okhttp3}} {{#jvm-okhttp4}} - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.okhttp3:okhttp:4.12.0" {{/jvm-okhttp4}} {{#jvm-spring-webclient}} implementation "org.springframework.boot:spring-boot-starter-webflux:$spring_boot_version" @@ -181,24 +175,16 @@ dependencies { implementation "org.threeten:threetenbp:1.6.8" {{/threetenbp}} {{#kotlinx-datetime}} - implementation "org.jetbrains.kotlinx:kotlinx-datetime:0.4.0" + implementation "org.jetbrains.kotlinx:kotlinx-datetime:0.5.0" {{/kotlinx-datetime}} {{#jvm-retrofit2}} {{#hasOAuthMethods}} implementation "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2" {{/hasOAuthMethods}} - implementation "com.squareup.okhttp3:logging-interceptor:4.10.0" - {{#useRxJava}} - implementation "io.reactivex:rxjava:$rxJavaVersion" - implementation "com.squareup.retrofit2:adapter-rxjava:$retrofitVersion" - {{/useRxJava}} - {{#useRxJava2}} - implementation "io.reactivex.rxjava2:rxjava:$rxJava2Version" - implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion" - {{/useRxJava2}} + implementation "com.squareup.okhttp3:logging-interceptor:4.12.0" {{#useRxJava3}} implementation "io.reactivex.rxjava3:rxjava:$rxJava3Version" - implementation "com.squareup.retrofit2:adapter-rxjava3:2.9.0" + implementation "com.squareup.retrofit2:adapter-rxjava3:2.10.0" {{/useRxJava3}} implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" {{#gson}} @@ -208,7 +194,7 @@ dependencies { implementation "com.squareup.retrofit2:converter-moshi:$retrofitVersion" {{/moshi}} {{#kotlinx_serialization}} - implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0" + implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:1.0.0" {{/kotlinx_serialization}} {{#jackson}} implementation "com.squareup.retrofit2:converter-jackson:$retrofitVersion" diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/build.gradle b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/build.gradle index a650f5ebf2d5..985c6025f7cf 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/build.gradle +++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spring_boot_version = "3.2.0" - ext.spotless_version = "6.13.0" + ext.spring_boot_version = "3.2.4" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -61,8 +61,8 @@ kotlin { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" implementation "org.springframework.boot:spring-boot-starter-web:$spring_boot_version" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/build.gradle b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/build.gradle index a650f5ebf2d5..985c6025f7cf 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/build.gradle +++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spring_boot_version = "3.2.0" - ext.spotless_version = "6.13.0" + ext.spring_boot_version = "3.2.4" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -61,8 +61,8 @@ kotlin { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" implementation "org.springframework.boot:spring-boot-starter-web:$spring_boot_version" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/build.gradle b/samples/client/echo_api/kotlin-model-prefix-type-mappings/build.gradle index 3fb89b6c9188..e5dbafa454af 100644 --- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/build.gradle +++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.retrofitVersion = '2.9.0' - ext.spotless_version = "6.13.0" + ext.retrofitVersion = '2.10.0' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,9 +55,9 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" - implementation "com.google.code.gson:gson:2.9.0" - implementation "com.squareup.okhttp3:logging-interceptor:4.10.0" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0" + implementation "com.google.code.gson:gson:2.10.1" + implementation "com.squareup.okhttp3:logging-interceptor:4.12.0" implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion" implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion" diff --git a/samples/client/others/kotlin-jvm-okhttp-parameter-tests/build.gradle b/samples/client/others/kotlin-jvm-okhttp-parameter-tests/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/others/kotlin-jvm-okhttp-parameter-tests/build.gradle +++ b/samples/client/others/kotlin-jvm-okhttp-parameter-tests/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-allOff-discriminator/build.gradle b/samples/client/petstore/kotlin-allOff-discriminator/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin-allOff-discriminator/build.gradle +++ b/samples/client/petstore/kotlin-allOff-discriminator/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/build.gradle b/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/build.gradle +++ b/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/build.gradle b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/build.gradle +++ b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/build.gradle b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/build.gradle +++ b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/build.gradle b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/build.gradle index 6bf361e782a7..839125426e39 100644 --- a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/build.gradle +++ b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.retrofitVersion = '2.9.0' - ext.spotless_version = "6.13.0" + ext.retrofitVersion = '2.10.0' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -56,9 +56,9 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:logging-interceptor:4.10.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:logging-interceptor:4.12.0" implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" implementation "com.squareup.retrofit2:converter-moshi:$retrofitVersion" implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion" diff --git a/samples/client/petstore/kotlin-enum-default-value/build.gradle b/samples/client/petstore/kotlin-enum-default-value/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin-enum-default-value/build.gradle +++ b/samples/client/petstore/kotlin-enum-default-value/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-gson/build.gradle b/samples/client/petstore/kotlin-gson/build.gradle index c3f04c5a8a61..e4a09d4da949 100644 --- a/samples/client/petstore/kotlin-gson/build.gradle +++ b/samples/client/petstore/kotlin-gson/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -54,7 +54,7 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "com.google.code.gson:gson:2.9.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.google.code.gson:gson:2.10.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-jackson/build.gradle b/samples/client/petstore/kotlin-jackson/build.gradle index 6c93cb98f2a9..31ac13524edc 100644 --- a/samples/client/petstore/kotlin-jackson/build.gradle +++ b/samples/client/petstore/kotlin-jackson/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-json-request-string/build.gradle b/samples/client/petstore/kotlin-json-request-string/build.gradle index e7abb9b24bac..830495f11fa6 100644 --- a/samples/client/petstore/kotlin-json-request-string/build.gradle +++ b/samples/client/petstore/kotlin-json-request-string/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -57,8 +57,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-jvm-jackson/build.gradle b/samples/client/petstore/kotlin-jvm-jackson/build.gradle index 7517d03fe473..550bf1fc0edc 100644 --- a/samples/client/petstore/kotlin-jvm-jackson/build.gradle +++ b/samples/client/petstore/kotlin-jvm-jackson/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.retrofitVersion = '2.9.0' - ext.spotless_version = "6.13.0" + ext.retrofitVersion = '2.10.0' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -56,10 +56,10 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" implementation "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2" - implementation "com.squareup.okhttp3:logging-interceptor:4.10.0" + implementation "com.squareup.okhttp3:logging-interceptor:4.12.0" implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" implementation "com.squareup.retrofit2:converter-jackson:$retrofitVersion" implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion" diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/build.gradle b/samples/client/petstore/kotlin-jvm-ktor-gson/build.gradle index 4bc5603fb837..905573cbc02d 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-gson/build.gradle +++ b/samples/client/petstore/kotlin-jvm-ktor-gson/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.ktor_version = '2.2.3' - ext.spotless_version = "6.13.0" + ext.ktor_version = '2.3.9' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,7 +55,7 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "com.google.code.gson:gson:2.9.0" + implementation "com.google.code.gson:gson:2.10.1" implementation "io.ktor:ktor-client-core:$ktor_version" implementation "io.ktor:ktor-client-content-negotiation:$ktor_version" implementation "io.ktor:ktor-serialization-gson:$ktor_version" diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/build.gradle b/samples/client/petstore/kotlin-jvm-ktor-jackson/build.gradle index ac940c8653b2..e62de3305e36 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-jackson/build.gradle +++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.ktor_version = '2.2.3' - ext.spotless_version = "6.13.0" + ext.ktor_version = '2.3.9' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -56,8 +56,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" implementation "io.ktor:ktor-client-core:$ktor_version" implementation "io.ktor:ktor-client-content-negotiation:$ktor_version" implementation "io.ktor:ktor-client-jackson:$ktor_version" diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/build.gradle b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/build.gradle index 8a3f1d30e520..bbed76f8fdd9 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/build.gradle +++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.ktor_version = '2.2.3' - ext.spotless_version = "6.13.0" + ext.ktor_version = '2.3.9' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -57,7 +57,7 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" + implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3" implementation "io.ktor:ktor-client-core:$ktor_version" implementation "io.ktor:ktor-client-content-negotiation:$ktor_version" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/build.gradle b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/build.gradle index 4580dc8bf83e..913bf860f885 100644 --- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/build.gradle +++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -54,8 +54,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" - implementation "com.google.code.gson:gson:2.9.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0" + implementation "com.google.code.gson:gson:2.10.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/build.gradle b/samples/client/petstore/kotlin-jvm-spring-2-webclient/build.gradle index 8558ab13de12..84953fb250ef 100644 --- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/build.gradle +++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/build.gradle @@ -8,9 +8,9 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spring_boot_version = "2.7.12" - ext.reactor_version = "3.5.6" - ext.spotless_version = "6.13.0" + ext.spring_boot_version = "2.7.18" + ext.reactor_version = "3.6.4" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -57,8 +57,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" implementation "org.springframework.boot:spring-boot-starter-webflux:$spring_boot_version" implementation "io.projectreactor:reactor-core:$reactor_version" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/build.gradle b/samples/client/petstore/kotlin-jvm-spring-3-restclient/build.gradle index a650f5ebf2d5..985c6025f7cf 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/build.gradle +++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spring_boot_version = "3.2.0" - ext.spotless_version = "6.13.0" + ext.spring_boot_version = "3.2.4" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -61,8 +61,8 @@ kotlin { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" implementation "org.springframework.boot:spring-boot-starter-web:$spring_boot_version" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/build.gradle b/samples/client/petstore/kotlin-jvm-spring-3-webclient/build.gradle index d594b8f80933..ba865a361637 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/build.gradle +++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/build.gradle @@ -8,9 +8,9 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spring_boot_version = "3.2.0" - ext.reactor_version = "3.5.6" - ext.spotless_version = "6.13.0" + ext.spring_boot_version = "3.2.4" + ext.reactor_version = "3.6.4" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -63,8 +63,8 @@ kotlin { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" implementation "org.springframework.boot:spring-boot-starter-webflux:$spring_boot_version" implementation "io.projectreactor:reactor-core:$reactor_version" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/build.gradle b/samples/client/petstore/kotlin-jvm-vertx-gson/build.gradle index 6ef0c5dfc95b..ee4cb1459a18 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-gson/build.gradle +++ b/samples/client/petstore/kotlin-jvm-vertx-gson/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.vertx_version = "4.3.3" - ext.spotless_version = "6.13.0" + ext.vertx_version = "4.5.6" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,7 +55,7 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "com.google.code.gson:gson:2.9.0" + implementation "com.google.code.gson:gson:2.10.1" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" implementation "io.vertx:vertx-web-client:$vertx_version" implementation "io.vertx:vertx-core:$vertx_version" diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/build.gradle b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/build.gradle index 86cef4fdcaae..505fe686236a 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/build.gradle +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.vertx_version = "4.3.3" - ext.spotless_version = "6.13.0" + ext.vertx_version = "4.5.6" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,10 +55,10 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" implementation "io.vertx:vertx-web-client:$vertx_version" implementation "io.vertx:vertx-core:$vertx_version" diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/build.gradle b/samples/client/petstore/kotlin-jvm-vertx-jackson/build.gradle index ad4b251d4e96..31fa64905f8c 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson/build.gradle +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.vertx_version = "4.3.3" - ext.spotless_version = "6.13.0" + ext.vertx_version = "4.5.6" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -56,8 +56,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" implementation "io.vertx:vertx-web-client:$vertx_version" implementation "io.vertx:vertx-core:$vertx_version" diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/build.gradle b/samples/client/petstore/kotlin-jvm-vertx-moshi/build.gradle index d7dea91eb2b8..357046cdaef8 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-moshi/build.gradle +++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.vertx_version = "4.3.3" - ext.spotless_version = "6.13.0" + ext.vertx_version = "4.5.6" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -56,8 +56,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" implementation "io.vertx:vertx-web-client:$vertx_version" implementation "io.vertx:vertx-core:$vertx_version" diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/build.gradle b/samples/client/petstore/kotlin-kotlinx-datetime/build.gradle index e8c65ba06a9a..27b7dd5383ab 100644 --- a/samples/client/petstore/kotlin-kotlinx-datetime/build.gradle +++ b/samples/client/petstore/kotlin-kotlinx-datetime/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,9 +55,9 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" - implementation "org.jetbrains.kotlinx:kotlinx-datetime:0.4.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" + implementation "org.jetbrains.kotlinx:kotlinx-datetime:0.5.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/build.gradle b/samples/client/petstore/kotlin-model-prefix-type-mappings/build.gradle index dcd26b4cfce6..15d603a92588 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/build.gradle +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.retrofitVersion = '2.9.0' - ext.spotless_version = "6.13.0" + ext.retrofitVersion = '2.10.0' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,10 +55,10 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" - implementation "com.google.code.gson:gson:2.9.0" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0" + implementation "com.google.code.gson:gson:2.10.1" implementation "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2" - implementation "com.squareup.okhttp3:logging-interceptor:4.10.0" + implementation "com.squareup.okhttp3:logging-interceptor:4.12.0" implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion" implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion" diff --git a/samples/client/petstore/kotlin-modelMutable/build.gradle b/samples/client/petstore/kotlin-modelMutable/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin-modelMutable/build.gradle +++ b/samples/client/petstore/kotlin-modelMutable/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-moshi-codegen/build.gradle b/samples/client/petstore/kotlin-moshi-codegen/build.gradle index ad6631f1d60d..99c8dd9f8cdd 100644 --- a/samples/client/petstore/kotlin-moshi-codegen/build.gradle +++ b/samples/client/petstore/kotlin-moshi-codegen/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,9 +55,9 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "com.squareup.moshi:moshi:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - kapt "com.squareup.moshi:moshi-kotlin-codegen:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + kapt "com.squareup.moshi:moshi-kotlin-codegen:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-name-parameter-mappings/build.gradle b/samples/client/petstore/kotlin-name-parameter-mappings/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin-name-parameter-mappings/build.gradle +++ b/samples/client/petstore/kotlin-name-parameter-mappings/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-nonpublic/build.gradle b/samples/client/petstore/kotlin-nonpublic/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin-nonpublic/build.gradle +++ b/samples/client/petstore/kotlin-nonpublic/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-nullable/build.gradle b/samples/client/petstore/kotlin-nullable/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin-nullable/build.gradle +++ b/samples/client/petstore/kotlin-nullable/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/build.gradle b/samples/client/petstore/kotlin-retrofit2-jackson/build.gradle index 7517d03fe473..550bf1fc0edc 100644 --- a/samples/client/petstore/kotlin-retrofit2-jackson/build.gradle +++ b/samples/client/petstore/kotlin-retrofit2-jackson/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.retrofitVersion = '2.9.0' - ext.spotless_version = "6.13.0" + ext.retrofitVersion = '2.10.0' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -56,10 +56,10 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.14.3" - implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.3" + implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.17.0" + implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0" implementation "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2" - implementation "com.squareup.okhttp3:logging-interceptor:4.10.0" + implementation "com.squareup.okhttp3:logging-interceptor:4.12.0" implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" implementation "com.squareup.retrofit2:converter-jackson:$retrofitVersion" implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion" diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/build.gradle b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/build.gradle index 67bc628c41c1..7acac1e7a708 100644 --- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/build.gradle +++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.retrofitVersion = '2.9.0' - ext.spotless_version = "6.13.0" + ext.retrofitVersion = '2.10.0' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -57,11 +57,11 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" + implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3" implementation "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2" - implementation "com.squareup.okhttp3:logging-interceptor:4.10.0" + implementation "com.squareup.okhttp3:logging-interceptor:4.12.0" implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" - implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0" + implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:1.0.0" implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/build.gradle b/samples/client/petstore/kotlin-retrofit2-rx3/build.gradle index 125709ed277a..4b047275e9ba 100644 --- a/samples/client/petstore/kotlin-retrofit2-rx3/build.gradle +++ b/samples/client/petstore/kotlin-retrofit2-rx3/build.gradle @@ -8,9 +8,9 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.retrofitVersion = '2.9.0' - ext.rxJava3Version = '3.0.12' - ext.spotless_version = "6.13.0" + ext.retrofitVersion = '2.10.0' + ext.rxJava3Version = '3.1.8' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -57,12 +57,12 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" implementation "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2" - implementation "com.squareup.okhttp3:logging-interceptor:4.10.0" + implementation "com.squareup.okhttp3:logging-interceptor:4.12.0" implementation "io.reactivex.rxjava3:rxjava:$rxJava3Version" - implementation "com.squareup.retrofit2:adapter-rxjava3:2.9.0" + implementation "com.squareup.retrofit2:adapter-rxjava3:2.10.0" implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" implementation "com.squareup.retrofit2:converter-moshi:$retrofitVersion" implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion" diff --git a/samples/client/petstore/kotlin-retrofit2/build.gradle b/samples/client/petstore/kotlin-retrofit2/build.gradle index 0a56883036cd..c9de00df44bf 100644 --- a/samples/client/petstore/kotlin-retrofit2/build.gradle +++ b/samples/client/petstore/kotlin-retrofit2/build.gradle @@ -8,8 +8,8 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.retrofitVersion = '2.9.0' - ext.spotless_version = "6.13.0" + ext.retrofitVersion = '2.10.0' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -56,10 +56,10 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" implementation "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2" - implementation "com.squareup.okhttp3:logging-interceptor:4.10.0" + implementation "com.squareup.okhttp3:logging-interceptor:4.12.0" implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" implementation "com.squareup.retrofit2:converter-moshi:$retrofitVersion" implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion" diff --git a/samples/client/petstore/kotlin-string/build.gradle b/samples/client/petstore/kotlin-string/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin-string/build.gradle +++ b/samples/client/petstore/kotlin-string/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-threetenbp/build.gradle b/samples/client/petstore/kotlin-threetenbp/build.gradle index fc7210c71740..97d262f6d9b4 100644 --- a/samples/client/petstore/kotlin-threetenbp/build.gradle +++ b/samples/client/petstore/kotlin-threetenbp/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,9 +55,9 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" implementation "org.threeten:threetenbp:1.6.8" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin-uppercase-enum/build.gradle b/samples/client/petstore/kotlin-uppercase-enum/build.gradle index 71e8bc817730..4384d3f1a405 100644 --- a/samples/client/petstore/kotlin-uppercase-enum/build.gradle +++ b/samples/client/petstore/kotlin-uppercase-enum/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -56,8 +56,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/samples/client/petstore/kotlin/build.gradle b/samples/client/petstore/kotlin/build.gradle index ef3c9f3e56e9..ca74749a5dca 100644 --- a/samples/client/petstore/kotlin/build.gradle +++ b/samples/client/petstore/kotlin/build.gradle @@ -8,7 +8,7 @@ wrapper { buildscript { ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" }