From d0f0234656dc981b422d1e9aa0885afd5fd29879 Mon Sep 17 00:00:00 2001 From: AKB48 <297104893@qq.com> Date: Fri, 21 Jan 2022 07:44:31 -0800 Subject: [PATCH] Bump Kotlin version to 1.6.10 (#32936) Summary: Bump Kotlin version to 1.6.10 with changes: https://kotlinlang.org/docs/whatsnew16.html Primarily: - stabilization to several language features - various type inference improvements - support for annotations on class type parameters ## Changelog [Android] [Changed] - Bump Kotlin version to 1.6.10 Pull Request resolved: https://github.com/facebook/react-native/pull/32936 Reviewed By: ShikaSD Differential Revision: D33708397 Pulled By: cortinico fbshipit-source-id: a09b4504c194676d18a749c5e297b7598e5f32b4 --- gradle.properties | 2 +- packages/react-native-gradle-plugin/build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 5621083a2c7..900a6e110b3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError org.gradle.parallel=true android.useAndroidX=true -kotlin_version=1.5.31 +kotlin_version=1.6.10 # Use this property to specify which architecture you want to build. # You can also override it from the CLI using diff --git a/packages/react-native-gradle-plugin/build.gradle.kts b/packages/react-native-gradle-plugin/build.gradle.kts index fb9aa654c93..3b824bc655b 100644 --- a/packages/react-native-gradle-plugin/build.gradle.kts +++ b/packages/react-native-gradle-plugin/build.gradle.kts @@ -9,7 +9,7 @@ import org.gradle.api.internal.classpath.ModuleRegistry import org.gradle.configurationcache.extensions.serviceOf plugins { - kotlin("jvm") version "1.5.31" + kotlin("jvm") version "1.6.10" id("java-gradle-plugin") }