Skip to content

Commit c22588d

Browse files
committed
Get rid of deprecated destinationDir
1 parent b7b4e32 commit c22588d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private fun Project.getExecutableFile(compilation: KotlinJsIrCompilation): Provi
5151
val outputFileName = binary.linkTask.flatMap { task ->
5252
task.compilerOptions.moduleName.map { "$it.js" }
5353
}
54-
val destinationDir = binary.linkSyncTask.map { it.destinationDir }
54+
val destinationDir = binary.linkSyncTask.flatMap { it.destinationDirectory }
5555
val executableFile = destinationDir.zip(outputFileName) { dir, fileName -> dir.resolve(fileName) }
5656
return project.layout.file(executableFile)
5757
}

0 commit comments

Comments
 (0)