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 30073f6 commit 07becbcCopy full SHA for 07becbc
plugin/main/src/kotlinx/benchmark/gradle/BenchmarksExtension.kt
@@ -53,7 +53,7 @@ open class BenchmarksExtension(val project: Project) {
53
val target = multiplatform.targets.findByName(name)
54
// We allow the name to be either a target or a source set
55
when (val compilation = target?.compilations?.findByName(KotlinCompilation.MAIN_COMPILATION_NAME)
56
- ?: multiplatform.targets.flatMap { it.compilations }.find { it.defaultSourceSetName == name }) {
+ ?: multiplatform.targets.flatMap { it.compilations }.find { it.defaultSourceSet.name == name }) {
57
null -> {
58
project.logger.warn("Warning: Cannot find a benchmark compilation '$name', ignoring.")
59
BenchmarkTarget(this, name) // ignore
0 commit comments