[kotlin][client] fix warning (#18560)

* [kotlin] Target correct library in jvm-spring-webclient sample

* [kotlin] Fixed warning in jvm-spring-restclient
This commit is contained in:
Stefan Koppier
2024-05-03 10:47:55 +02:00
committed by GitHub
parent ef2fa03e96
commit 30dc35de44
13 changed files with 217 additions and 189 deletions

View File

@@ -9,6 +9,7 @@ wrapper {
buildscript {
ext.kotlin_version = '1.8.10'
ext.spring_boot_version = "3.2.4"
ext.reactor_version = "3.6.4"
// 6.13.0 is the latest stable release that supports JDK8
ext.spotless_version = "6.13.0"
@@ -59,11 +60,13 @@ kotlin {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
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.17.0"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0"
implementation "org.springframework.boot:spring-boot-starter-web:$spring_boot_version"
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"
}