Skip to content

Commit f41ac7a

Browse files
committed
chore: kotlin 1.6.0 -> 1.9.0
1 parent b528565 commit f41ac7a

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ buildscript {
1212
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion')}")
1313
classpath("com.android.tools.build:gradle:7.0.4")
1414
}
15+
ext.kotlinVersion = "${safeExtGet('kotlinVersion')}"
1516
}
1617

1718
def getExtOrIntegerDefault(prop) {
@@ -114,4 +115,4 @@ if (isNewArchitectureEnabled()) {
114115
codegenDir = new File(codegenPath)
115116
reactNativeDir = new File(reactNativePath)
116117
}
117-
}
118+
}

android/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ReactNativeWebView_kotlinVersion=1.6.0
1+
ReactNativeWebView_kotlinVersion=1.9.0
22
ReactNativeWebView_webkitVersion=1.4.0
33
ReactNativeWebView_compileSdkVersion=31
44
ReactNativeWebView_targetSdkVersion=31
5-
ReactNativeWebView_minSdkVersion=21
5+
ReactNativeWebView_minSdkVersion=21

example/android/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@ buildscript {
1313
}
1414
}
1515
}
16+
buildscript {
17+
ext {
18+
kotlinVersion = "1.9.0"
19+
}
20+
}

example/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ newArchEnabled=false
4242
#ANDROID_NDK_VERSION=21.4.7075529
4343

4444
# Version of Kotlin to build against.
45-
#KOTLIN_VERSION=1.7.10
45+
KOTLIN_VERSION=1.9.0

0 commit comments

Comments
 (0)