Skip to content

Commit 549e0e6

Browse files
rlazoDavid Motsonashvili
authored and
David Motsonashvili
committed
Set jvm target for kotlin to jvm11 to match java. (#4369)
* Set jvm target for kotlin to jvm11 to match java. * Fix typo
1 parent 330da66 commit 549e0e6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

buildSrc/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,9 @@ tasks.withType<Test> {
108108
val enablePluginTests: String? by rootProject
109109
enabled = enablePluginTests == "true"
110110
}
111+
112+
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
113+
kotlinOptions {
114+
jvmTarget = "11"
115+
}
116+
}

0 commit comments

Comments
 (0)