Fix for Qt Creator

This commit is contained in:
albexk 2023-12-05 23:53:49 +03:00
parent 656223f57d
commit bf03f5c9ae
2 changed files with 15 additions and 1 deletions

View file

@ -24,7 +24,7 @@ private class PropertyDelegate(
private val localProperties: Properties = localProperties(rootDir)
) : ReadOnlyProperty<Any?, String> {
override fun getValue(thisRef: Any?, property: KProperty<*>): String =
providers.gradleProperty(property.name).orNull ?: localProperties.getProperty(property.name)
providers.gradleProperty(property.name).orNull ?: localProperties.getProperty(property.name).orEmpty()
}
private lateinit var settingsPropertyDelegate: ReadOnlyProperty<Any?, String>