Skip to content

Commit 2821da5

Browse files
author
Krzysztof
authored
fix: gradle build (#706)
1 parent a9ed140 commit 2821da5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

android/build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ buildscript {
3737
// kotlin version is dictated by rootProject extension or property in gradle.properties
3838
ext.asyncStorageKtVersion = rootProject.ext.has('kotlinVersion')
3939
? rootProject.ext['kotlinVersion']
40-
: getVersionOrDefault('AsyncStorage_kotlinVersion', '1.5.31')
40+
: rootProject.hasProperty('AsyncStorage_kotlinVersion')
41+
? rootProject.properties['AsyncStorage_kotlinVersion']
42+
: '1.5.31'
4143

4244
repositories {
4345
google()

0 commit comments

Comments
 (0)