diff --git a/android/build.gradle b/android/build.gradle index 90aab6f0..fc609670 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -3,7 +3,8 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' buildscript { - def kotlin_version = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : project.properties['RNSAC_kotlinVersion'] + def kotlin_version = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : + (project.properties['RNSAC_kotlinVersion'] ? project.properties['RNSAC_kotlinVersion'] : "1.6.10") repositories { mavenCentral()