We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17b9b68 commit bac0814Copy full SHA for bac0814
build.gradle.kts
@@ -1,3 +1,6 @@
1
+import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
+import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
3
+
4
// Top-level build file where you can add configuration options common to all sub-projects/modules.
5
6
buildscript {
@@ -52,3 +55,13 @@ dependencyAnalysis {
52
55
tasks.register("clean", Delete::class) {
53
56
delete(rootProject.buildDir)
54
57
}
58
59
+subprojects {
60
+ afterEvaluate {
61
+ tasks.withType(KotlinJvmCompile::class.java).configureEach {
62
+ compilerOptions {
63
+ jvmTarget.set(JvmTarget.JVM_11)
64
+ }
65
66
67
+}
0 commit comments