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/50780 This bumps Kotlin to the latest stable: 2.1.20. I've also fixed several warnings emitted by the new compiler. Changelog: [Android] [Changed] - Kotlin to 2.1.20 Reviewed By: rshest Differential Revision: D73122000 fbshipit-source-id: 019a01d085b2c115a3efcf567056e9990a1ff0ce
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 = 35
|
|
ndkVersion = "27.1.12297006"
|
|
kotlinVersion = "2.1.20"
|
|
}
|
|
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"
|