Upgrade kotlin plugin version and jvm target
This commit is contained in:
parent
a43cbcab41
commit
7b653aab91
|
@ -3,8 +3,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
plugins {
|
plugins {
|
||||||
id("org.springframework.boot") version "2.5.0"
|
id("org.springframework.boot") version "2.5.0"
|
||||||
id("io.spring.dependency-management") version "1.0.9.RELEASE"
|
id("io.spring.dependency-management") version "1.0.9.RELEASE"
|
||||||
kotlin("jvm") version "1.5.31"
|
kotlin("jvm") version "1.6.0"
|
||||||
kotlin("plugin.spring") version "1.5.31"
|
kotlin("plugin.spring") version "1.6.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -34,7 +34,7 @@ dependencies {
|
||||||
tasks.withType<KotlinCompile> {
|
tasks.withType<KotlinCompile> {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
freeCompilerArgs = listOf("-Xjsr305=strict")
|
freeCompilerArgs = listOf("-Xjsr305=strict")
|
||||||
jvmTarget = "11"
|
jvmTarget = "17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
plugins {
|
plugins {
|
||||||
id("org.springframework.boot") version "2.5.0"
|
id("org.springframework.boot") version "2.5.0"
|
||||||
id("io.spring.dependency-management") version "1.0.9.RELEASE"
|
id("io.spring.dependency-management") version "1.0.9.RELEASE"
|
||||||
kotlin("jvm") version "1.5.31"
|
kotlin("jvm") version "1.6.0"
|
||||||
kotlin("plugin.spring") version "1.5.31"
|
kotlin("plugin.spring") version "1.6.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -28,7 +28,7 @@ dependencies {
|
||||||
tasks.withType<KotlinCompile> {
|
tasks.withType<KotlinCompile> {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
freeCompilerArgs = listOf("-Xjsr305=strict")
|
freeCompilerArgs = listOf("-Xjsr305=strict")
|
||||||
jvmTarget = "11"
|
jvmTarget = "17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue