This commit is contained in:
Dmitry Jemerov
2017-12-28 15:13:19 +01:00
committed by Vyacheslav Gerasimov
parent 5dc094d290
commit a58a6290cc
+1 -1
View File
@@ -31,7 +31,7 @@ plugins {
`kotlin-dsl`
}
fun Project.getBooleanProperty(name: String): Boolean? = this.findProperty("intellijUltimateEnabled")?.let {
fun Project.getBooleanProperty(name: String): Boolean? = this.findProperty(name)?.let {
val v = it.toString()
if (v.isBlank()) true
else v.toBoolean()