[Native] Add simple symbol mechanism to konan.properties
Java Properties format is extremely trivial and does not support any kind of references or variables. It makes konan.properties repetitive. This commits adds support of perl-like `$` sigil which allows to reference properties inside values.
This commit is contained in:
@@ -43,6 +43,10 @@ class Distribution(
|
||||
fun additionalPropertyFiles(genericName: String) =
|
||||
preconfiguredPropertyFiles(genericName) + userPropertyFiles(genericName)
|
||||
|
||||
/**
|
||||
* Please note that konan.properties uses simple resolving mechanism.
|
||||
* See [org.jetbrains.kotlin.konan.properties.resolveValue].
|
||||
*/
|
||||
val properties by lazy {
|
||||
val result = Properties()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user