We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd920c2 commit 0dc32ecCopy full SHA for 0dc32ec
examples/kotlin-kts/build.gradle.kts
@@ -2,11 +2,9 @@
2
3
import kotlinx.benchmark.gradle.*
4
import org.jetbrains.kotlin.allopen.gradle.*
5
-import org.jetbrains.kotlin.gradle.tasks.*
6
7
8
plugins {
9
- java
10
kotlin("jvm")
11
kotlin("plugin.allopen") version "2.0.20"
12
id("org.jetbrains.kotlinx.benchmark")
@@ -25,16 +23,8 @@ dependencies {
25
23
implementation(project(":kotlinx-benchmark-runtime"))
26
24
}
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"
37
- }
+kotlin {
+ jvmToolchain(8)
38
39
40
benchmark {
0 commit comments