From 003055ee9cd459b75e14b0a0cfda13004c4d0018 Mon Sep 17 00:00:00 2001 From: LeoTM <1881059+leotm@users.noreply.github.com> Date: Wed, 29 May 2024 15:14:00 +0100 Subject: [PATCH] fix: downgrade kotlin from 1.9.20 to 1.6.0 --- android/gradle.properties | 2 +- example/android/build.gradle | 6 +++--- example/android/gradle.properties | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/android/gradle.properties b/android/gradle.properties index 79528adc6..ff4eda6b6 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,4 +1,4 @@ -ReactNativeWebView_kotlinVersion=1.9.20 +ReactNativeWebView_kotlinVersion=1.6.0 ReactNativeWebView_webkitVersion=1.4.0 ReactNativeWebView_compileSdkVersion=31 ReactNativeWebView_targetSdkVersion=31 diff --git a/example/android/build.gradle b/example/android/build.gradle index 6157ea0ba..a27d96ee4 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -8,14 +8,14 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0") classpath("com.android.tools.build:gradle:7.0.4") getReactNativeDependencies().each { dependency -> classpath(dependency) } } - ext.kotlinVersion = "1.9.20" + ext.kotlinVersion = "1.6.0" } dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib:1.9.20" + implementation "org.jetbrains.kotlin:kotlin-stdlib:1.6.0" } diff --git a/example/android/gradle.properties b/example/android/gradle.properties index 820e9a65a..6761a15bd 100644 --- a/example/android/gradle.properties +++ b/example/android/gradle.properties @@ -42,4 +42,4 @@ newArchEnabled=false #ANDROID_NDK_VERSION=21.4.7075529 # Version of Kotlin to build against. -KOTLIN_VERSION=1.9.20 +KOTLIN_VERSION=1.6.0