File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
plugin/main/src/kotlinx/benchmark/gradle Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package kotlinx.benchmark.gradle
2
2
3
3
import kotlinx.benchmark.gradle.internal.KotlinxBenchmarkPluginInternalApi
4
4
import org.gradle.api.*
5
+ import org.jetbrains.kotlin.gradle.dsl.JsModuleKind
5
6
import org.jetbrains.kotlin.gradle.targets.js.dsl.*
6
7
import org.jetbrains.kotlin.gradle.targets.js.ir.*
7
8
@@ -57,9 +58,9 @@ private fun Project.createJsBenchmarkCompileTask(target: JsBenchmarkTarget): Kot
57
58
// destinationDir = file("$benchmarkBuildDir/classes")
58
59
dependsOn(" ${target.name}${BenchmarksPlugin .BENCHMARK_GENERATE_SUFFIX } " )
59
60
60
- kotlinOptions. apply {
61
- sourceMap = true
62
- moduleKind = " umd "
61
+ compilerOptions {
62
+ sourceMap.set( true )
63
+ moduleKind.set( JsModuleKind . MODULE_UMD )
63
64
}
64
65
}
65
66
}
You can’t perform that action at this time.
0 commit comments