11buildscript {
22 // Buildscript is evaluated before everything else so we can't use getExtOrDefault
3- def kotlin_version = rootProject. ext. has(" kotlinVersion" ) ? rootProject. ext. get(" kotlinVersion" ) : project. properties[" FreeraspReactNative_kotlinVersion" ]
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
@@ -59,8 +64,12 @@ android {
5964 }
6065
6166 compileOptions {
62- sourceCompatibility JavaVersion . VERSION_1_8
63- targetCompatibility JavaVersion . VERSION_1_8
67+ sourceCompatibility JavaVersion . VERSION_17
68+ targetCompatibility JavaVersion . VERSION_17
69+ }
70+
71+ kotlinOptions {
72+ jvmTarget = " 17"
6473 }
6574
6675 if (project. android. hasProperty(" namespace" )) {
@@ -80,7 +89,7 @@ rootProject.allprojects {
8089 }
8190}
8291
83- def kotlin_version = getExtOrDefault (" kotlinVersion" )
92+ def kotlin_version = getDefault (" kotlinVersion" )
8493def react_native_version = getExtOrDefault(" reactNativeVersion" )
8594
8695dependencies {
@@ -90,7 +99,7 @@ dependencies {
9099 implementation " com.facebook.react:react-native:$react_native_version "
91100 implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
92101 implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
93- implementation " com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:14 .0.1 "
102+ implementation " com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:15 .0.0 "
94103}
95104
96105if (isNewArchitectureEnabled()) {
0 commit comments