Browse Source

Fix UnknownPropertyException in getExtOrDefault (#28)

Alexey Ustinov 5 years ago
parent
commit
bd666c7be3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      android/build.gradle

+ 1
- 1
android/build.gradle View File

@@ -1,5 +1,5 @@
1 1
 def getExtOrDefault(name, defaultVaue) {
2
-  return rootProject.ext.get(name) ?: defaultVaue
2
+  return rootProject.ext.has(name) ? rootProject.ext.get(name) : defaultVaue
3 3
 }
4 4
 
5 5
 apply plugin: 'com.android.library'