diff --git a/buildSrc/src/main/java/org/springframework/boot/build/KotlinConventions.java b/buildSrc/src/main/java/org/springframework/boot/build/KotlinConventions.java index 6d2a5a13da..0d715bde84 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/KotlinConventions.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/KotlinConventions.java @@ -31,6 +31,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile; *
  • {@link KotlinCompile} tasks are configured to: * diff --git a/spring-boot-project/spring-boot/build.gradle b/spring-boot-project/spring-boot/build.gradle index c9d4d7c24f..9402f6a567 100644 --- a/spring-boot-project/spring-boot/build.gradle +++ b/spring-boot-project/spring-boot/build.gradle @@ -178,18 +178,6 @@ sourceSets { } } -compileKotlin { - kotlinOptions { - jvmTarget = 1.8 - } -} - -compileTestKotlin { - kotlinOptions { - jvmTarget = 1.8 - } -} - test { jvmArgs += "--add-opens=java.base/java.net=ALL-UNNAMED" } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux-coroutines/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux-coroutines/build.gradle index 8d38e295b8..101d961ffb 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux-coroutines/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux-coroutines/build.gradle @@ -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")