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 c581d95 commit 343e70aCopy full SHA for 343e70a
examples/kotlin-kts/build.gradle.kts
@@ -25,6 +25,12 @@ dependencies {
25
implementation(project(":kotlinx-benchmark-runtime"))
26
}
27
28
+tasks.withType<JavaCompile> {
29
+ sourceCompatibility = "1.8"
30
+ targetCompatibility = "1.8"
31
+}
32
+
33
34
tasks.withType<KotlinCompile> {
35
kotlinOptions {
36
jvmTarget = "1.8"
examples/kotlin/build.gradle
@@ -21,6 +21,10 @@ sourceSets.all {
21
java.srcDirs = ["$it.name/src"]
22
resources.srcDirs = ["$it.name/resources"]
23
24
+compileJava {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
0 commit comments