From 7b653aab919bd32a8fbe7da01614077c9ae5c0cb Mon Sep 17 00:00:00 2001 From: Marcus Da Coregio Date: Fri, 3 Dec 2021 11:45:10 -0300 Subject: [PATCH] Upgrade kotlin plugin version and jvm target --- reactive/webflux/kotlin/hello-security/build.gradle.kts | 6 +++--- servlet/spring-boot/kotlin/hello-security/build.gradle.kts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reactive/webflux/kotlin/hello-security/build.gradle.kts b/reactive/webflux/kotlin/hello-security/build.gradle.kts index ce05304..58b7dbb 100644 --- a/reactive/webflux/kotlin/hello-security/build.gradle.kts +++ b/reactive/webflux/kotlin/hello-security/build.gradle.kts @@ -3,8 +3,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("org.springframework.boot") version "2.5.0" id("io.spring.dependency-management") version "1.0.9.RELEASE" - kotlin("jvm") version "1.5.31" - kotlin("plugin.spring") version "1.5.31" + kotlin("jvm") version "1.6.0" + kotlin("plugin.spring") version "1.6.0" } repositories { @@ -34,7 +34,7 @@ dependencies { tasks.withType { kotlinOptions { freeCompilerArgs = listOf("-Xjsr305=strict") - jvmTarget = "11" + jvmTarget = "17" } } diff --git a/servlet/spring-boot/kotlin/hello-security/build.gradle.kts b/servlet/spring-boot/kotlin/hello-security/build.gradle.kts index 33155d2..968fc25 100644 --- a/servlet/spring-boot/kotlin/hello-security/build.gradle.kts +++ b/servlet/spring-boot/kotlin/hello-security/build.gradle.kts @@ -3,8 +3,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("org.springframework.boot") version "2.5.0" id("io.spring.dependency-management") version "1.0.9.RELEASE" - kotlin("jvm") version "1.5.31" - kotlin("plugin.spring") version "1.5.31" + kotlin("jvm") version "1.6.0" + kotlin("plugin.spring") version "1.6.0" } repositories { @@ -28,7 +28,7 @@ dependencies { tasks.withType { kotlinOptions { freeCompilerArgs = listOf("-Xjsr305=strict") - jvmTarget = "11" + jvmTarget = "17" } }