kotlin-result/benchmarks/build.gradle.kts
2023-04-03 12:16:37 +01:00

41 lines
770 B
Plaintext

description = "Benchmarks for kotlin-result."
plugins {
kotlin("multiplatform")
id("org.jetbrains.kotlinx.benchmark")
id("org.jetbrains.kotlin.plugin.allopen")
}
allOpen {
annotation("org.openjdk.jmh.annotations.State")
annotation("org.openjdk.jmh.annotations.BenchmarkMode")
}
benchmark {
targets {
register("jvm")
register("js")
}
}
kotlin {
jvmToolchain(8)
jvm {
}
js(IR) {
nodejs()
}
sourceSets {
val commonMain by getting {
dependencies {
implementation(project(":kotlin-result-coroutines"))
implementation(libs.kotlin.benchmark.runtime)
implementation(libs.kotlin.coroutines.core)
}
}
}
}