chore: fix build by adding a fallback on kotlin version

This commit is contained in:
olivier 2023-09-05 22:17:37 +02:00
parent 0fac437dbd
commit 19c8134dbc

View File

@ -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()