Skip to content

Commit

Permalink
fix: gradle build (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof authored Nov 4, 2021
1 parent a9ed140 commit 2821da5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2821da5

Please sign in to comment.