Merge branch '2.6.x' into 2.7.x

Closes gh-29955
pull/29976/head
Andy Wilkinson 3 years ago
commit 2d9177dd9d

@ -31,6 +31,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile;
* <li>{@link KotlinCompile} tasks are configured to: * <li>{@link KotlinCompile} tasks are configured to:
* <ul> * <ul>
* <li>Use {@code apiVersion} and {@code languageVersion} 1.3. * <li>Use {@code apiVersion} and {@code languageVersion} 1.3.
* <li>Use {@code jvmTarget} 1.8.
* <li>Treat all warnings as errors * <li>Treat all warnings as errors
* <li>Suppress version warnings * <li>Suppress version warnings
* </ul> * </ul>

@ -180,18 +180,6 @@ sourceSets {
} }
} }
compileKotlin {
kotlinOptions {
jvmTarget = 1.8
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = 1.8
}
}
toolchain { toolchain {
testJvmArgs.add("--add-opens=java.base/java.net=ALL-UNNAMED") testJvmArgs.add("--add-opens=java.base/java.net=ALL-UNNAMED")
} }

@ -6,18 +6,6 @@ plugins {
description = "Spring Boot WebFlux coroutines smoke test" description = "Spring Boot WebFlux coroutines smoke test"
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies { dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-webflux")) implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-webflux"))
implementation("com.fasterxml.jackson.module:jackson-module-kotlin") implementation("com.fasterxml.jackson.module:jackson-module-kotlin")

Loading…
Cancel
Save