Replace deprecated konan.home with org.jetbrains.kotlin.native.home
This commit is contained in:
committed by
Pavel Punegov
parent
6e8a56f00a
commit
9c3a1332d5
@@ -31,7 +31,7 @@ class Distribution(
|
||||
private fun findKonanHome(): String {
|
||||
if (konanHomeOverride != null) return konanHomeOverride
|
||||
|
||||
val value = System.getProperty("konan.home", "dist")
|
||||
val value = System.getProperty("org.jetbrains.kotlin.native.home", "dist")
|
||||
val path = File(value).absolutePath
|
||||
return path
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user