From 19c8134dbc29c5e25ca4e55d20ac2e297b66c420 Mon Sep 17 00:00:00 2001 From: olivier Date: Tue, 5 Sep 2023 22:17:37 +0200 Subject: [PATCH] chore: fix build by adding a fallback on kotlin version --- android/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()