Merge branch '2.6.x' into 2.7.x
Closes gh-29955
This commit is contained in:
@@ -31,6 +31,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile;
|
||||
* <li>{@link KotlinCompile} tasks are configured to:
|
||||
* <ul>
|
||||
* <li>Use {@code apiVersion} and {@code languageVersion} 1.3.
|
||||
* <li>Use {@code jvmTarget} 1.8.
|
||||
* <li>Treat all warnings as errors
|
||||
* <li>Suppress version warnings
|
||||
* </ul>
|
||||
|
||||
@@ -180,18 +180,6 @@ sourceSets {
|
||||
}
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
kotlinOptions {
|
||||
jvmTarget = 1.8
|
||||
}
|
||||
}
|
||||
|
||||
compileTestKotlin {
|
||||
kotlinOptions {
|
||||
jvmTarget = 1.8
|
||||
}
|
||||
}
|
||||
|
||||
toolchain {
|
||||
testJvmArgs.add("--add-opens=java.base/java.net=ALL-UNNAMED")
|
||||
}
|
||||
|
||||
@@ -6,18 +6,6 @@ plugins {
|
||||
|
||||
description = "Spring Boot WebFlux coroutines smoke test"
|
||||
|
||||
compileKotlin {
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
}
|
||||
|
||||
compileTestKotlin {
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-webflux"))
|
||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
||||
|
||||
Reference in New Issue
Block a user