Merge pull request #3234 from iFeelSmart/chore/fixSampleBuild

chore: fix build by adding a fallback on kotlin version
This commit is contained in:
Olivier Bouillet 2023-09-09 14:37:07 +02:00 committed by GitHub
commit bcc710ecfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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