Skip to content

Commit 5dd90fd

Browse files
committed
bug fixes
1 parent abff3a1 commit 5dd90fd

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

android/build.gradle

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
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+
4247
android {
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")
8893
def react_native_version = getExtOrDefault("reactNativeVersion")
8994

9095
dependencies {
@@ -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

100105
if (isNewArchitectureEnabled()) {

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FreeraspReactNative_kotlinVersion=1.7.0
1+
FreeraspReactNative_kotlinVersion=2.1.0
22
FreeraspReactNative_minSdkVersion=23
33
FreeraspReactNative_targetSdkVersion=35
44
FreeraspReactNative_compileSdkVersion=35

0 commit comments

Comments
 (0)