Skip to content

Commit 67b4dff

Browse files
committed
Set jvm target for kotlin to jvm11 to match java.
1 parent 55b6dd5 commit 67b4dff

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
@@ -106,3 +106,9 @@ tasks.withType<Test> {
106106
val enablePluginTests: String? by rootProject
107107
enabled = enablePluginTests == "true"
108108
}
109+
-
110+
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
111+
kotlinOptions {
112+
jvmTarget = "11"
113+
}
114+
}

0 commit comments

Comments
 (0)