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 60b2a27 commit 29a340eCopy full SHA for 29a340e
build.gradle.kts
@@ -1,3 +1,6 @@
1
+import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
+import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
+
4
plugins {
5
`kotlin-dsl`
6
`java-gradle-plugin`
@@ -105,3 +108,9 @@ tasks.javadoc {
105
108
(options as StandardJavadocDocletOptions).addBooleanOption("html5", true)
106
109
}
107
110
111
112
+allprojects {
113
+ tasks.withType<KotlinCompile> {
114
+ compilerOptions.jvmTarget = JvmTarget.JVM_1_8
115
+ }
116
+}
0 commit comments