From 2821da5e0f93b0c55aac1c7595b313fcfaa1b00b Mon Sep 17 00:00:00 2001 From: Krzysztof Date: Fri, 5 Nov 2021 00:21:45 +0100 Subject: [PATCH] fix: gradle build (#706) --- android/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 4e5ce774..20113b8d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -37,7 +37,9 @@ buildscript { // kotlin version is dictated by rootProject extension or property in gradle.properties ext.asyncStorageKtVersion = rootProject.ext.has('kotlinVersion') ? rootProject.ext['kotlinVersion'] - : getVersionOrDefault('AsyncStorage_kotlinVersion', '1.5.31') + : rootProject.hasProperty('AsyncStorage_kotlinVersion') + ? rootProject.properties['AsyncStorage_kotlinVersion'] + : '1.5.31' repositories { google()