File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11buildscript {
22 // Buildscript is evaluated before everything else so we can't use getExtOrDefault
3- def kotlin_version = " 2.1.0"
3+ def kotlin_version = project. properties[" FreeraspReactNative_kotlinVersion" ]
4+
45
56 repositories {
67 google()
@@ -39,6 +40,10 @@ def getIntegerDefault(name) {
3940 return (project. properties[" FreeraspReactNative_" + name]). toInteger()
4041}
4142
43+ def getDefault (name ) {
44+ return project. properties[" FreeraspReactNative_" + name]
45+ }
46+
4247android {
4348 compileSdkVersion getIntegerDefault(" compileSdkVersion" )
4449
@@ -84,7 +89,7 @@ rootProject.allprojects {
8489 }
8590}
8691
87- def kotlin_version = " 2.1.0 "
92+ def kotlin_version = getDefault( " kotlinVersion " )
8893def react_native_version = getExtOrDefault(" reactNativeVersion" )
8994
9095dependencies {
@@ -94,7 +99,7 @@ dependencies {
9499 implementation " com.facebook.react:react-native:$react_native_version "
95100 implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
96101 implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
97- implementation " com.aheaditec.talsec.security:TalsecSecurity-Community-Capacitor :15.0.0"
102+ implementation " com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative :15.0.0"
98103}
99104
100105if (isNewArchitectureEnabled()) {
Original file line number Diff line number Diff line change 1- FreeraspReactNative_kotlinVersion =1.7 .0
1+ FreeraspReactNative_kotlinVersion =2.1 .0
22FreeraspReactNative_minSdkVersion =23
33FreeraspReactNative_targetSdkVersion =35
44FreeraspReactNative_compileSdkVersion =35
You can’t perform that action at this time.
0 commit comments