We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9865c17 commit 93ad8c9Copy full SHA for 93ad8c9
gradle-plugins/build.gradle.kts
@@ -1,4 +1,5 @@
1
-import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
+import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
+import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
3
import java.time.Duration
4
5
plugins {
@@ -60,9 +61,9 @@ tasks {
60
61
}
62
63
- withType(KotlinCompile::class).configureEach {
64
- kotlinOptions {
65
- jvmTarget = "11"
+ withType(KotlinJvmCompile::class).configureEach {
+ compilerOptions {
66
+ jvmTarget = JvmTarget.JVM_11
67
68
69
0 commit comments