Fix configurations on Mac and Windows

This commit is contained in:
Elena Lepilkina
2020-09-15 09:17:32 +03:00
committed by LepilkinaElena
parent 8b2fed994a
commit 7e439432cd
@@ -56,7 +56,7 @@ open class RunKotlinNativeTask @Inject constructor(private val linkTask: Task,
private fun execBenchmarkOnce(benchmark: String, warmupCount: Int, repeatCount: Int) : String {
val output = ByteArrayOutputStream()
val useCset = project.property("useCset").toString().toBoolean()
val useCset = project.findProperty("useCset")?.toString()?.toBoolean() ?: false
project.exec {
if (useCset) {
it.executable = "cset"