[build] version of kotlin native stored in resouces
This commit is contained in:
committed by
Stanislav Erokhin
parent
bdc87edfd0
commit
905c0c3dd3
+1
-1
@@ -94,7 +94,7 @@ internal val Project.konanHome: String
|
||||
internal val Project.konanVersion: CompilerVersion
|
||||
get() = project.findProperty(KonanPlugin.ProjectProperty.KONAN_VERSION)
|
||||
?.toString()?.let { CompilerVersion.fromString(it) }
|
||||
?: CompilerVersion.CURRENT
|
||||
?: project.findProperty("kotlinNativeVersion") as? CompilerVersion ?: CompilerVersion.CURRENT
|
||||
|
||||
internal val Project.konanBuildRoot get() = buildDir.resolve("konan")
|
||||
internal val Project.konanBinBaseDir get() = konanBuildRoot.resolve("bin")
|
||||
|
||||
Reference in New Issue
Block a user