mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46955 This is a major bump of Kotlin. It comes with no breaking changes for the Kotlin API, but there are several new warnigns that I had to fix. Most importantly several `override` methods that are overriding Deprecated API, also need to be deprecated as well in Kotlin. Changelog: [Android] [Changed] - Bump Kotlin 1.9.x to 2.0.x Reviewed By: tdn120 Differential Revision: D64179842 fbshipit-source-id: 295ab2636ce9f9bb04e9d8c7ed27d9f8a1a64338
29 lines
738 B
Groovy
29 lines
738 B
Groovy
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
buildscript {
|
|
ext {
|
|
buildToolsVersion = "35.0.0"
|
|
minSdkVersion = 24
|
|
compileSdkVersion = 35
|
|
targetSdkVersion = 34
|
|
ndkVersion = "26.1.10909125"
|
|
kotlinVersion = "2.0.21"
|
|
}
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle")
|
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
|
|
}
|
|
}
|
|
|
|
apply plugin: "com.facebook.react.rootproject"
|