Use konan.home as compiler system property, kotlin.native.home as a gradle only property

This commit is contained in:
Pavel Punegov
2019-02-14 16:33:34 +03:00
committed by Pavel Punegov
parent 3efca3d8b8
commit 309ecbb696
9 changed files with 10 additions and 10 deletions
@@ -31,7 +31,7 @@ class Distribution(
private fun findKonanHome(): String {
if (konanHomeOverride != null) return konanHomeOverride
val value = System.getProperty("org.jetbrains.kotlin.native.home", "dist")
val value = System.getProperty("konan.home", "dist")
val path = File(value).absolutePath
return path
}