Skip to content

Commit 7160a8f

Browse files
author
Abduqodiri Qurbonzoda
committed
Fix K/N TeamCity build
1 parent 1c941eb commit 7160a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/main/src/kotlinx/benchmark/gradle/NativeMultiplatformTasks.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,14 @@ fun Project.createNativeBenchmarkExecTask(
125125

126126
onlyIf { executableFile.exists() }
127127
benchsDescriptionDir = file(project.buildDir.resolve(target.extension.benchsDescriptionDir).resolve(config.name))
128-
benchsDescriptionDir.mkdirs()
129128

130129
val ideaActive = (extensions.extraProperties.get("idea.internal.test") as? String)?.toBoolean() ?: false
131130
configFile = writeParameters(target.name, reportFile, if (ideaActive) "xml" else "text", config)
132131

133132
dependsOn(linkTask)
134133
doFirst {
135134
reportsDir.mkdirs()
135+
benchsDescriptionDir.mkdirs()
136136
logger.lifecycle("Running '${config.name}' benchmarks for '${target.name}'")
137137
}
138138
}

0 commit comments

Comments
 (0)