Fix for Qt Creator
This commit is contained in:
parent
656223f57d
commit
bf03f5c9ae
2 changed files with 15 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue