mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d0a5f8ff51
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46369 This bumps Gradle to the latest stable ahead of the 0.76 branch cut. Changelog: [Android] [Changed] - Gradle to 8.10 Reviewed By: tdn120, Abbondanzo Differential Revision: D62296898 fbshipit-source-id: 59fc119dd6fad3b6b0ebbfcd8166da4cad9b8633
35 lines
828 B
Kotlin
35 lines
828 B
Kotlin
/*
|
|
* 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.
|
|
*/
|
|
|
|
plugins {
|
|
id("com.facebook.react")
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.kotlin.android)
|
|
}
|
|
|
|
android {
|
|
compileSdk = libs.versions.compileSdk.get().toInt()
|
|
buildToolsVersion = libs.versions.buildTools.get()
|
|
namespace = "com.facebook.react.osslibraryexample"
|
|
|
|
defaultConfig {
|
|
minSdk = libs.versions.minSdk.get().toInt()
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions { jvmTarget = "17" }
|
|
}
|
|
|
|
dependencies {
|
|
// Build React Native from source
|
|
implementation(project(":packages:react-native:ReactAndroid"))
|
|
}
|